Exemplo n.º 1
0
 public void ButtonEnter()
 {
     if (buttonEnabled)
     {
         cursor.BeginClicking();
     }
     print("Button Enter");
 }
 //When the cursor enters a buttons bounds...
 public void ButtonEnter()
 {
     //If the button is enabled make the cursor start it's countdown click phase
     if (buttonEnabled)
     {
         if (cursor != null)
         {
             cursor.BeginClicking();
         }
         if (cursorDirect != null)
         {
             cursorDirect.BeginClicking();
         }
     }
     //debug
     print("Button Enter");
 }