public bool PresionadoRED(int id) { Partida p = GameObject.Find("Main Camera").GetComponent <Partida> (); if (p.ComponentePulsadoRed(componente, gameObject.tag, id)) { gameObject.SetActive(false); return(true); } return(false); }
public bool PresionadoRED(int id) { Partida p = GameObject.Find("Main Camera").GetComponent <Partida> (); if (p.ComponentePulsadoRed(componente, gameObject.tag, id)) { gameObject.SetActive(false); return(true); } return(false); }