MonoBehaviour script for sending events to the graph

NodeCanvas Forums Custom Nodes & Tasks MonoBehaviour script for sending events to the graph

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11531
    bcristian
    Participant

    Hello

    Created this utility script that can raise graph events in response to Unity Events.
    I’m using it in UI’s dynamically created by behaviors from data-bound templates.

    #11532
    bcristian
    Participant

    In order for this to work though with typed event arguments, the following modification needs to be made in CheckEvent.cs:

    original

    replace with:

    #11563
    Gavalakis
    Keymaster

    Great!
    Thanks for sharing 🙂

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

    #11564
    Gavalakis
    Keymaster

    I will also make the modification to CheckEvent since it makes sense.

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

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