Reply To: Player input, GUI, and Actions

NodeCanvas Forums General Discussion Player input, GUI, and Actions Reply To: Player input, GUI, and Actions

#13467
Gavalakis
Keymaster

Hello and sorry for the late reply due to summer vacation.
Thank you! I am glad you like NodeCanvas thus far 🙂

Please excuse me in advance if I misunderstood the question, but you can if required get a callback for the pointer-based unity events in actions. One way to do that, is by using the [EventReceiver] attribute, which accepts a params array of messages/events (in string names) to subscribe the action to, where the gameobject that would be used for those callbacks, will be the “agent”. Here is an example of how this can be done:

Is this indeed what you’ve asked, or did I misunderstood the question.
Please let me know.

Thank you!

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