BuscarFase() 공개 정적인 메소드

public static BuscarFase ( string nome ) : Fase,
nome string
리턴 Fase,
예제 #1
0
 public static void CarregarFase(string nome)
 {
     Application.LoadLevel(nome);
     if (nome == "MapaFases")
     {
         faseAtual = null;
     }
     else
     {
         faseAtual = Arbitro.BuscarFase(nome);
     }
 }
예제 #2
0
    void Start()
    {
        if (Arbitro.primeiroCarregamento)
        {
            Arbitro.ResetarJogo();
            Arbitro.primeiroCarregamento = false;
        }

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