protected void NewButtonClicked()
 {
     //非表示
     HideMenu();
     shipSelect.shipDataIndicator.Indicate(false);
     //sclaeをスタックに
     indicateStack.Push(size);
     //ゲームパッドのイベント送信先をsizeに
     gamepadInput.target = size;
 }
示例#2
0
 /// <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);
 }
示例#3
0
 /// <summary>
 /// スタック格納用
 /// </summary>
 protected void IndicateStackPush(GameObject g)
 {
     //プッシュ
     indicateStack.Push(g);
     //ゲームパッド入力ターゲットの変更
     gamepadInput.target = g;
 }
示例#4
0
 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();
 }