ResetarJogo() public static method

public static ResetarJogo ( ) : void
return void
コード例 #1
0
 void Update()
 {
     if (Nave.vidas == 0 && Input.GetKeyDown(KeyCode.R))
     {
         Arbitro.ResetarJogo();
     }
 }
コード例 #2
0
 void Update()
 {
     if (Nave.vidas == 0)
     {
         if (Input.GetKeyDown(KeyCode.Escape))
         {
             Arbitro.ResetarJogo();
         }
     }
 }
コード例 #3
0
    void Start()
    {
        if (Arbitro.primeiroCarregamento)
        {
            Arbitro.ResetarJogo();
            Arbitro.primeiroCarregamento = false;
        }

        if (Arbitro.BuscarFase(fase).travada)
        {
            Destroy(this.gameObject);
        }
    }