/// <summary> /// 初期化 /// </summary> protected void Init() { //infoBox infoBox.Indicate(false); //表示スタック indicateStack = new ClassBox.GameObjectStack(); //MainMenuを追加しておく indicateStack.Push(mainMenu); //Menu edit.SetActive(false); parts.SetActive(false); //Dialog_PartsInfo dialog_partsInfo.SetActive(false); dialog_partsEdit.SetActive(false); //Dialog_launcher dialog_launcher.SetActive(false); dialog_bulletSelect.SetActive(false); //Dialog_Color dialog_color.SetActive(false); //Dialog_YesNo dialog_yesNo.SetActive(false); //Dialog_Yesn dialog_yes.SetActive(false); //Dialog_Rename dialog_rename.SetActive(false); }
protected void Start() { gm = GameManager.Instance; //gamepadInput gamepadInput.target = menu; gamepadInput.subTarget = gameObject; //初期化 indicateStack = new ClassBox.GameObjectStack(); //menuを詰めておく indicateStack.Push(menu); //非表示に battle.SetActive(false); //BGM再生 gm.PlayMenuBGM(); }
protected void Start() { gm = GameManager.Instance; indicateStack = new ClassBox.GameObjectStack(); //menuをまず詰める indicateStack.Push(menu); //表示_Edit ships.SetActive(false); editButtons.SetActive(false); warning.SetActive(false); //表示_New size.SetActive(false); //BGM再生 gm.PlayMenuBGM(); }