protected virtual void OnDisable() { eventDispatcher.RemoveListener <DragEnteredEvent>(OnDragEnteredEvent); eventDispatcher = null; }
protected virtual void OnEnable() { eventDispatcher = FungusManager.Instance.EventDispatcher; eventDispatcher.AddListener <DragEnteredEvent>(OnDragEnteredEvent); }