void Register(Flow f = default(Flow)) { var unityEvent = eventInput.value as UnityEventBase; if (unityEvent != null) { reflectedEvent.StopListening(unityEvent, OnEventRaised); reflectedEvent.StartListening(unityEvent, OnEventRaised); } }
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); } }