//Mostrar imagen de gana void Start() { mover = true; tagObjeto = gameObject.tag; modificar = script.GetComponent<Aciertos>(); }
public string tagObjeto; // modificar los aciertos //Mostrar imagen de gana void Start() { mover = true; tagObjeto = gameObject.tag; modificar = script.GetComponent <Aciertos>(); }
// Use this for initialization void Start() { mover = true; tagObjeto = gameObject.tag; modificar = script.GetComponent <Aciertos>(); //coger el componente texto del canvas texto = Canvas.GetComponent <Text>(); texto.text = ""; }
// Use this for initialization void Start() { // permite mover las fichas mover = true; //captura la etiqueta de un objeto tagObjeto = gameObject.tag; //modifica el script Aciertos modificar = script.GetComponent <Aciertos>(); //coger el componente texto del canvas texto = Canvas.GetComponent <Text>(); texto.text = ""; }