AreaTrigger.bindCanInteract
Bind the lua function to be used when checking for player interaction with the area trigger
Kind: Function
Environments: Game
Game
areaTrigger:bindCanInteract( callback, object )
Availability: Client only
Parameters:
| Name | Type | Description |
|---|---|---|
areaTrigger |
AreaTrigger | The area trigger instance. |
callback |
string | The name of the Lua function to bind. |
object (optional) |
table | The object that will receive the callback. (optional) |