Exemple #1
0
 private void Start()
 {
     gm = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameManager>();
     texto01.SetText("You have dethroned " + PlayerPrefs.GetString("potato").ToString() + ".");
     nombre.characterLimit = 10;
     cambiarEscena         = GameObject.Find("Canvas").GetComponent <sceneChangerClick>();
 }
Exemple #2
0
 void Start()
 {
     gm         = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameManager>();
     gm.Jugando = 0;
     st         = GameObject.FindGameObjectWithTag("seteador").GetComponent <SetearPuntaje>();
     sn         = GameObject.FindGameObjectWithTag("seteador").GetComponent <SetearNombre>();
     cambiador  = GameObject.FindGameObjectWithTag("canvas").GetComponent <sceneChangerClick>();
     boton_back = GameObject.FindGameObjectWithTag("boton");
 }
Exemple #3
0
    //public GameObject pressSpace;

    // Start is called before the first frame update
    void Start()
    {
        cambiador = GetComponent <sceneChangerClick>();
    }
Exemple #4
0
    //public GameObject pressSpace;

    // Start is called before the first frame update
    void Start()
    {
        gm        = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameManager>();
        cambiador = GetComponent <sceneChangerClick>();
    }