/** * スタートボタンが押されたら呼び出される処理 */ public void PressStart() { if (!firstPush) { fade.StartFadeOut(); firstPush = true; } }
// ステージを切り替えます。 // <param name="num">ステージ番号</param> public void ChangeScene(int num) { if (fade != null) { nextStageNum = num; fade.StartFadeOut(); startFade = true; } }
public void PressStart() { if (!firstPush) { Debug.Log("スタートします"); fade.StartFadeOut(); firstPush = true; } }
/// <summary> /// ステージを切り替えます /// </summary> /// <param name=="stageNo">ステージ番号</param> public void ChangeScene(int stageNo) { if (fade != null) { nextStageNo = stageNo; fade.StartFadeOut(); startFade = true; } }
// スタートボタンを押されたら呼ばれる public void PressStart() { Debug.Log("Press Start!"); if (!firstPush) { gm.PlaySE(startSE); fade.StartFadeOut(); firstPush = true; } }
//スタート」ボタンを押されたら呼ばれる public void PressStart() { Debug.Log("Press Start!"); if (!firstPush) { //Debug.Log("Go Next Scene!"); GManager.instance.PlaySE(startSE); //フェードアウト fade.StartFadeOut(); firstPush = true; } }
public void PressStart() { if (!firstPush) { if (fade != null) { GManager.instance.PlaySE(startSE); fade.StartFadeOut(); firstPush = true; } } }
/// <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重押下防止 } }