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>(); }
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"); }
//public GameObject pressSpace; // Start is called before the first frame update void Start() { cambiador = GetComponent <sceneChangerClick>(); }
//public GameObject pressSpace; // Start is called before the first frame update void Start() { gm = GameObject.FindGameObjectWithTag("GameController").GetComponent <GameManager>(); cambiador = GetComponent <sceneChangerClick>(); }