コード例 #1
0
ファイル: Bomb.cs プロジェクト: Raful/CSBomb
 private void HandleFuseDone()
 {
     if (m_buttonPressedTimer >= m_fuseTimer)
     {
         SoundHandler.PlayPlantedSound();
         GameData.gameState = GameData.GameState.Planted;
         InputListener.InterruptMainButton();
     }
 }
コード例 #2
0
ファイル: Bomb.cs プロジェクト: Raful/CSBomb
 private void OnStateChanged(GameData.GameState newState)
 {
     InputListener.InterruptMainButton();
     m_buttonPressedTimer = 0;
 }