Debugging
4_ScriptableEvent
Last updated
4_ScriptableEvent
Last updated
You can also easily debug events by raising them from the editor. Just select any of your scriptable events and click on the Raise button at runtime. If you want to see console logs when this event is fired and which method are called from it then set “debug log enabled” to true.
Or using the shortcut when it is exposed in your class:
Finally, you can quickly display an inline inspector from classes using the small arrow next to the variable name. Similarly to scriptable variables and lists. This is very useful to debug your events quickly.