The BindableFunction class is used to represent functions in the game hierarchy. It allow functions defined in one script to be called by another script. It can be used by a script to give access to functions by an external script. Since callbacks do not replicate, they cannot be used to share functions between the server and clients. This class was added in version 51.
Methods
Invoke(arguments: Tuple): Tuple
| Name | Type |
|---|---|
| arguments | Tuple |
Causes the function assigned to OnInvoke to be called. Arguments passed to this function get passed to OnInvoke function.
- Thread safety: unsafe