Reply To: How do I check a UnityEvent?

NodeCanvas Forums Support How do I check a UnityEvent? Reply To: How do I check a UnityEvent?

#12829
Gavalakis
Keymaster

Hello,

There are the “CheckUnityEvent” and “CheckUnityEvent(T)” Condition Tasks which you can use to check Unity Events. At the moment only UnityEvents with no, or one argument are supported.

If your event has no argument, you will need to use the “CheckUnityEvent” condition, whereas if your event has 1 argument, you will need to use the “CheckUnityEvent(T)” condition, where T would be the type of your event’s argument.

Thus, you will first need to assign the correct condition of the two to use in your node you want, and then from within the inspector for the condition, hit the “Select Event” button, which will popup a menu with all possible events that can be selected.

Please let me know if the above works for you, or if you are still facing any issues.
Thank you.

Join us on Discord: https://discord.gg/97q2Rjh