Effect.bindEventCallback
Bind a lua callback to be triggered by the effect.
Kind: Function
Environments: Game
Game
effect:bindEventCallback( methodName, params, reference )
Availability: Client only
Deprecated: use Effect.bindEventClientCallback instead.
Parameters:
| Name | Type | Description |
|---|---|---|
effect |
Effect | The effect. |
methodName |
string | The name of the callback method being bound. Example: MyClass.methodName( self, event, params ) |
params (optional) |
any | Parameter object passed to the callback. (Optional) |
reference (optional) |
table | Table to receive the callback. (Optional) |