Exemple #1
0
 void OnMouseDown()
 {
     if (!cMl_Script.GetLevel())
     {
         if ((int)RoulletePos.GetAnlge() == 0)
         {
             transform.GetChild(0).gameObject.SetActive(true);
         }
     }
 }
 void OnMouseDown()
 {
     if (cMl_Script.GetLevel())
     {
         cMl_Script.SetBoolMov();
     }
 }
Exemple #3
0
 void OnMouseUp()
 {
     transform.GetChild(0).gameObject.SetActive(false);
     if (!cMl_Script.GetLevel())
     {
         print("ButtoDownP");
         roulleteP.SetBoolDown();
     }
     else
     {
         print("ButtoDownPL");
         roulletePL.SetBoolDown();
     }
 }