コード例 #1
0
 void OnDisable( )
 {
     DomainEvents.UnRegister <OnExplosionVFX> (OnExplosionFX);
     DomainEvents.UnRegister <OnRingVFX> (OnRingFX);
     DomainEvents.UnRegister <OnStageChange> (OnStageChange);
     DomainEvents.UnRegister <OnAiming> (OnAiming);
 }
コード例 #2
0
 override public void OnDisable( )
 {
     Control.GamePlay.Move.performed -= OnMoveBtnPerformed;
     Control.GamePlay.Move.canceled  -= OnMoveBtnCanceled;
     Control.GamePlay.Jump.started   -= OnJumpBtnStarted;
     Control.GamePlay.Jump.canceled  -= OnJumpBtnCanceled;
     DomainEvents.UnRegister <OnSpaceAreaEnter> (OnSpaceAreaEnter);
     DomainEvents.UnRegister <OnSlideAreaEnter> (OnSlideAreaEnter);
 }
コード例 #3
0
 override public void OnDisable( )
 {
     Control.GamePlay.Dash.started  -= OnDashBtnStarted;
     Control.GamePlay.Dash.canceled -= OnDashBtnCanceled;
     Control.GamePlay.Jump.started  -= OnJumpBtnStarted;
     Control.GamePlay.Aim.started   -= OnAimBtnStarted;
     Control.GamePlay.Aim.performed -= OnAimBtnPerformed;
     DomainEvents.UnRegister <OnSpaceAreaEnter> (OnSpaceAreaEnter);
 }
コード例 #4
0
        void OnDisable( )
        {
            player.Dash.Aim          -= OnDashPrepare;
            player.Dash.AimEnded     -= OnDashEnded;
            player.Dash.EnergyChange -= OnEnergyChange;
            DomainEvents.UnRegister <OnPlayerDead> (OnPlayerDead);
            DomainEvents.UnRegister <OnStageReset> (OnStageReset);
            DomainEvents.UnRegister <OnGamePaused> (OnGamePaused);
            DomainEvents.UnRegister <OnGameResumed> (OnGameResumed);
            DomainEvents.UnRegister <OnAiming> (OnAiming);
            GameController gameController = GameObject.FindObjectOfType <GameController> ( );

            if (gameController)
            {
                gameController.GoalReached       -= OnGoalReached;
                gameController.ElapsedTimeChange -= OnElapsedTimeChange;
            }
        }
コード例 #5
0
 void OnDisable()
 {
     DomainEvents.UnRegister <OnPlayerStatsInit>(HandlePlayerStatsInit);
     DomainEvents.UnRegister <OnAtkChanged>(HandleAtkChanged);
     DomainEvents.UnRegister <OnManaChanged>(HandleManaChanged);
     DomainEvents.UnRegister <OnDefChanged>(HandleDefChanged);
     DomainEvents.UnRegister <OnEnergyChanged>(HandleEnergyChanged);
     DomainEvents.UnRegister <OnPlayerHPChanged>(HandlePlayerHPChanged);
     DomainEvents.UnRegister <OnComboChange>(HandleComboChange);
     DomainEvents.UnRegister <OnMaxTimeSet>(HandleMaxTimeSet);
     DomainEvents.UnRegister <OnRemainTimeChanged>(HandleRemainTimeChanged);
     DomainEvents.UnRegister <OnEnemyHPChanged>(HandleEnemyHPChanged);
     DomainEvents.UnRegister <OnGameStart>(HandleGameStart);
     DomainEvents.UnRegister <OnGameEnd>(HandleGameEnd);
     DomainEvents.UnRegister <OnEnemyGetNewAttack>(HandleEnemyAtkAnimFin);
     DomainEvents.UnRegister <OnNodeEliminate>(HandleNodeEliminate);
     DomainEvents.UnRegister <OnGameStateChange>(HandleGameStateChange);
     //TODO:DomainEvents.UnRegister<OnComboFactorChange>(HandleComboFactorChange);
 }
コード例 #6
0
 void OnDisable() => DomainEvents.UnRegister <OnManaChanged>(HandleManaChanged);
コード例 #7
0
ファイル: Enemy.cs プロジェクト: scream870102/ThreeMatchGame
 void OnDisable() => DomainEvents.UnRegister <OnEnemyBeAttacked>(HandleEnemyBeAttacked);
コード例 #8
0
 void OnDisable()
 {
     DomainEvents.UnRegister <OnVFXPlay>(HandleVFXPlay);
     DomainEvents.UnRegister <OnPlayerVFXPlay>(HandlePlayerVFXPlay);
 }
コード例 #9
0
 void OnDisable( )
 {
     DomainEvents.UnRegister <OnGameStarted> (OnGameStarted);
 }
コード例 #10
0
 void OnDisable()
 {
     DomainEvents.UnRegister <OnGameStateChange>(HandleGameStateChange);
     DomainEvents.UnRegister <OnNodeDragBegin>(HandleNodeDragBegin);
     DomainEvents.UnRegister <OnNodeDragEnd>(HandleNodeDragEnd);
 }
コード例 #11
0
 void OnDisable()
 {
     DomainEvents.UnRegister <OnNodeEliminate>(HandleNodeEliminate);
     DomainEvents.UnRegister <OnPlayerDead>(HandlePlayerDead);
     DomainEvents.UnRegister <OnEnemyDead>(HandleEnemyDead);
 }
コード例 #12
0
 void OnDisable( )
 {
     DomainEvents.UnRegister <OnStageChange> (OnStageChange);
 }
コード例 #13
0
ファイル: Character.cs プロジェクト: scream870102/Splash
 protected virtual void OnDisable( )
 {
     DomainEvents.UnRegister <OnStateChanged> (HandleStateChanged);
 }