Esempio n. 1
0
 static void inactiveGameObjects(GameObject[] Objectstoinactive)
 {
     foreach (GameObject ObjectToActive in Objectstoinactive)
     {
         ObjectToActive.SetActive(false);
     }
 }
Esempio n. 2
0
 static void activeGameObjects(GameObject[] ObjectstoActive)
 {
     foreach (GameObject ObjectToActive in ObjectstoActive)
     {
         ObjectToActive.SetActive(true);
     }
 }