Ejemplo n.º 1
0
 public void VibroClicked()
 {
     if (isVibroActive)
     {
         isVibroActive = false;
         Vibration.Block();
         vibro.GetComponent <Image>().sprite = _vibraSprite[1];
     }
     else
     {
         isVibroActive = true;
         Vibration.UnBlock();
         vibro.GetComponent <Image>().sprite = _vibraSprite[0];
     }
 }