MonoBehaviour script for sending events to the graph

Forums 💬 NodeCanvas 🤩 Custom Nodes and Tasks MonoBehaviour script for sending events to the graph

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #12918
    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.

      #12921
      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:

        #12920
        Gavalakis
        Keymaster

          Great!
          Thanks for sharing 🙂

          #12919
          Gavalakis
          Keymaster

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

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