Example #1
0
        void Register(Flow f = default(Flow))
        {
            var unityEvent = eventInput.value as UnityEventBase;

            if (unityEvent != null)
            {
                reflectedEvent.StopListening(unityEvent, OnEventRaised);
                reflectedEvent.StartListening(unityEvent, OnEventRaised);
            }
        }
Example #2
0
 public override void OnGraphStoped()
 {
     if (autoHandleRegistration)
     {
         var unityEvent = eventInput.value as UnityEventBase;
         if (unityEvent != null)
         {
             reflectedEvent.StopListening(unityEvent, OnEventRaised);
         }
     }
 }
 public override void OnGraphStoped()
 {
     if (unityEvent != null)
     {
         reflectedEvent.StopListening(unityEvent, OnEventRaised);
     }
 }