Properties
Scriptable Event
Last updated
Scriptable Event
Last updated
Let’s go through its properties:
Debug Log Enabled: If true, will log in the console the methods called when this event is raised (and the gameObject concerned).
Debug Value: a value you can input to debug from the inspector
Raise: this button is only active during play mode. It enables you to raise the event from the inspector.
Events can be raised by code, unity actions or from the inspector(via the raise button). Raising events in the inspector can be useful to quickly debug your game.
Please refer to the 4_ScriptableEvents_Example_Scene and its documentation for a practical understanding of Scriptable Events and how to use them.