Example #1
0
 private void OnMouseDown()
 {
     DisablePointer();
     if (upgradeMenu.transform.position.x > 500f)
     {
         upgradeMenu.ShowMenu();
     }
     else
     {
         upgradeMenu.HideMenu();
     }
 }