void ExitMenu() { foreach (GameObject allMenus in startMenus) { allMenus.SetActive(false); } battleTime = false; fieldTime = false; activeMenu = false; if (activeMap != null) { activeMap.UnPausePlayers(); } }