Sending Event From MonoBehaviour

NodeCanvas Forums General Discussion Sending Event From MonoBehaviour

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8676
    atmuc
    Participant

    How can i send a global or targeted event from a MonoBehaviour script? i do not want to add FSM to my each object for just sending an event.

    #8678
    Gavalakis
    Keymaster

    Hey,

    No, of course not :). You can do prety much everything from code too.
    You can simply send a local event by having a reference to the FSMOwner, or a global event by calling the static method:

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

    #8677
    atmuc
    Participant

    it is great 🙂 i am always sure that there is an easy way to do in NC 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.