mirror of
				https://github.com/DerTyp7/industrialize-unity.git
				synced 2025-10-31 05:17:10 +01:00 
			
		
		
		
	demolish playercontroller
This commit is contained in:
		| @@ -24,6 +24,18 @@ public class MenuManager : MonoBehaviour | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     public static bool AllMenusClosed() | ||||
|     { | ||||
|         foreach (Menu menu in MenuDictionary.instance.entries) | ||||
|         { | ||||
|             if (menu.isOpen) | ||||
|             { | ||||
|                 return false; | ||||
|             } | ||||
|         } | ||||
|         return true; | ||||
|     } | ||||
|  | ||||
|     private void Start() | ||||
|     { | ||||
|         CloseAllMenus(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Janis
					Janis