// Comprueba el estado d ela carta y le cambia el aspecto public void Select() { if (!selected) { Sound.clip = SelecClip; Sound.Play(); selected = true; Aura.enabled = true; managerSc.Select(this.gameObject); } }
// Variacion de SelectScript_FIL para que gire la carta public void Select() { //Debug.Log(selected); if (!selected) { Debug.Log("Select"); Sound.clip = SelecClip; Sound.Play(); selected = true; Aura.enabled = true; Texto.enabled = true; Imagen.sprite = Frontal; transform.localScale = new Vector3(0.65f, 0.9f, 1f); managerSc.Select(this.gameObject); } }