// Use this for initialization void Start() { bandera = true; CrecimientoConMause = gameObject.GetComponent <InteractuableScale>(); miTransform = gameObject.GetComponent <Transform>(); controller = FindObjectOfType <ControllerCartaEjer35>(); }
public void clickeado() { if (activa) { InteractuableScale interScale = this.gameObject.GetComponent <InteractuableScale> (); interScale.agrandar(); control++; if (control == 5) { popUp.Bien(); } else { popUp.cartelAcierto(); } activa = false; } }