mirror of
https://github.com/DerTyp7/industrialize-unity.git
synced 2026-07-31 19:29:03 +02: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