Example #1
0
 // toggles the grid on and of, doesn't effect the snapping
 public void GridToggle(Toggle t)
 {
     SoundManager.ButtonClicked();
     if (!UIObjectPreferences.menuOpen)
     {
         if (t.isOn)
         {
             GridOverlay.Active(true);
         }
         else
         {
             GridOverlay.Active(false);
         }
     }
 }