Ejemplo n.º 1
0
 /**
  * スタートボタンが押されたら呼び出される処理
  */
 public void PressStart()
 {
     if (!firstPush)
     {
         fade.StartFadeOut();
         firstPush = true;
     }
 }
Ejemplo n.º 2
0
 // ステージを切り替えます。
 // <param name="num">ステージ番号</param>
 public void ChangeScene(int num)
 {
     if (fade != null)
     {
         nextStageNum = num;
         fade.StartFadeOut();
         startFade = true;
     }
 }
Ejemplo n.º 3
0
 public void PressStart()
 {
     if (!firstPush)
     {
         Debug.Log("スタートします");
         fade.StartFadeOut();
         firstPush = true;
     }
 }
Ejemplo n.º 4
0
 /// <summary>
 /// ステージを切り替えます
 /// </summary>
 /// <param name=="stageNo">ステージ番号</param>
 public void ChangeScene(int stageNo)
 {
     if (fade != null)
     {
         nextStageNo = stageNo;
         fade.StartFadeOut();
         startFade = true;
     }
 }
Ejemplo n.º 5
0
 // スタートボタンを押されたら呼ばれる
 public void PressStart()
 {
     Debug.Log("Press Start!");
     if (!firstPush)
     {
         gm.PlaySE(startSE);
         fade.StartFadeOut();
         firstPush = true;
     }
 }
Ejemplo n.º 6
0
 //スタート」ボタンを押されたら呼ばれる
 public void PressStart()
 {
     Debug.Log("Press Start!");
     if (!firstPush)
     {
         //Debug.Log("Go Next Scene!");
         GManager.instance.PlaySE(startSE);
         //フェードアウト
         fade.StartFadeOut();
         firstPush = true;
     }
 }
Ejemplo n.º 7
0
 public void PressStart()
 {
     if (!firstPush)
     {
         if (fade != null)
         {
             GManager.instance.PlaySE(startSE);
             fade.StartFadeOut();
             firstPush = true;
         }
     }
 }
Ejemplo n.º 8
0
 /// <summary>
 /// スタートボタン押下
 /// </summary>
 /// <returns></returns>
 public void StartButton()
 {
     Debug.Log("StartButton!");
     if (!fade)
     {
         Debug.Log("設定が足りてないよ!");
         return;
     }
     if (!firstPush)
     {
         GManager.instance.PlaySE(buttonSE);
         Debug.Log("Go Stage Scene!");
         fade.StartFadeOut();
         firstPush = true;   // 2重押下防止
     }
 }