void Start() { this.control = GameObject.Find ("ControladorEscena").GetComponent<controladorMinijuego1> (); this.audio = GameObject.Find ("SonidoTocarObjeto").GetComponent<AudioSource> (); this.i = Random.Range (0, 2); }
void Start() { this.control = GameObject.Find("ControladorEscena").GetComponent <controladorMinijuego1> (); this.audio = GameObject.Find("SonidoTocarObjeto").GetComponent <AudioSource> (); this.i = Random.Range(0, 2); }