Beispiel #1
0
 void UpdateInput()
 {
     if (Input.GetMouseButtonDown(0))
     {
         selected = hover;
         if (selected != null)
         {
             selected.Click();
         }
     }
 }