示例#1
0
        private void OnDisable()
        {
            _autoActionController.UnhookEventHandlers();
            _healthManager.UnhookEventHandlers();
            _threatReactionManager.UnhookEventHandlers();

            EnemyCharacterTargetSelector.TargetAssignmentHandler -= HandleTargetAssignmentResponse;
        }
        private void OnDisable()
        {
            _selectionHandler.UnhookEventHandlers();
            _fieldMovementController.UnhookEventHandlers();
            _autoActionController.UnhookEventHandlers();
            _healthManager.UnhookEventHandlers();
            _stageMotionEngine.UnhookEventHandlers();

            StatusEventDispatcher.StatusEventHandler -= HandleStatusEvent;
            UIEventDispatcher.ButtonEventHandler     -= HandleButtonEvent;
        }