Beispiel #1
0
 public void Toggle()
 {
     if (UIAction.IsMenuShown)
     {
         UIAction.MenuHide();
     }
     else
     {
         UIAction.MenuShow();
     }
 }
Beispiel #2
0
 void ChangePlacedPrefab(GameObject go)
 {
     prefabToPlace = go;
     UIAction.MenuHide();
 }