NotifyCallback (RSDKv5)¶
Note
This function only exists in Sonic Origins.
Description¶
Sends the given callback to communicate to Hedgehog Engine 2.
For more information on NotifyCallback, including a list of usable callbacks, see this page.
Parameters¶
callback
-
The index value of the callback.
param1
,param2
,param3
-
Parameters to use for the callback.
Return Value¶
Depends on the callback used.
Syntax¶
Example¶
Note
This is a macro, which is designed to make programming in RSDK easier. The underlying logic is:
HasNotifyCallback() is a macro as well. The underlying logic for either macro should NEVER be used as it's less safe than the macros. This note is here for anyone wishing to learn about the internals or hoping to develop a wrapper for another language that doesn't support macros.