AddCustomEventListener
Method
Add a listener for a custom visual scripting event.
Parameters
Parameter | Description |
---|---|
GameObject gameObject | The gameobject that we are listening on. This should be the object we expect to trigger the event. |
Action<string, object[]> handler | The callback that will be handling any events raised. |