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