Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question How to get Flow variable after call to TriggerEventHandler

Discussion in 'Visual Scripting' started by emrys90, Feb 11, 2021.

  1. emrys90

    emrys90

    Joined:
    Oct 14, 2013
    Posts:
    752
    I'm starting a graph from C# like this. How would I get a flow variable after this call?
    Code (CSharp):
    1. var reference = GraphReference.New(macro, false);
    2.  
    3.         reference.TriggerEventHandler(hook => hook.name == "Custom", new CustomEventArgs("ActivateAbility"), parent => true, true);