public void BuildMapTypeMenuStart() { statusmanager = GameObject.Find("_GameManager").GetComponent <BuildAssetStatusManager> (); maindatabase = GameObject.Find("_GameManager").GetComponent <MainDatabaseManager> (); mapmanager = GameObject.Find("_GameManager").GetComponent <MapManager> (); menuuimanager = GetComponent <MenuUIManager> (); maindatabase.LoadMapLogicContent(); LoadBuildMapTypeMenuData(); menuuimanager.StartMenuUIManager(2, 1); }
public void SelectBuildMapMenuStart() { statusmanager = GameObject.Find("_GameManager").GetComponent <BuildAssetStatusManager> (); maindatabase = GameObject.Find("_GameManager").GetComponent <MainDatabaseManager> (); mapmanager = GameObject.Find("_GameManager").GetComponent <MapManager> (); menuuimanager = GetComponent <MenuUIManager> (); maindatabase.LoadMapLogicContent(); maindatabase.LoadMainDatabaseMap(); LoadBuildAssetMainMenuData(); LoadGallery(); }