Exemplo n.º 1
0
 /// <summary>
 /// To be called when the game is over.
 /// </summary>
 public void GameOver()
 {
     InputSequenceManager.RemoveAllSequences();
     _player.Explode();
     IsRunning = false;
     StartCoroutine(ShowResultsMenu());
 }
Exemplo n.º 2
0
 public void Unpause()
 {
     foreach (var sequence in FindObjectsOfType <InputSequence>())
     {
         InputSequenceManager.RegisterSequence(sequence);
     }
     Time.timeScale = 1f;
 }
Exemplo n.º 3
0
 public void ClearSequences()
 {
     PlayClip(_interactionClip);
     InputSequenceManager.RemoveAllSequences();
 }
Exemplo n.º 4
0
 void Exploding()
 {
     InputSequenceManager.RemoveAllSequences();
 }