void Clear() { ClearImg.gameObject.SetActive(true); SystemSEscript systemSE = this.GetComponent <SystemSEscript>(); systemSE.ClearSound(); Invoke("Restart", 6.0f); }
void clear() { BossFlag = 5; ClearImg.gameObject.SetActive(true); SystemSEscript systemSE = Maincamera.GetComponent <SystemSEscript>(); systemSE.ClearSound(); }
//ゲームオーバー:カメラを止める+ゲームオーバーの画像と音 public void GameOver() { CameraMoveScript.CameraCanMove = 0; GameOverImg.gameObject.SetActive(true); SystemSEscript systemSE = this.GetComponent <SystemSEscript> (); systemSE.GameOverSound(); Invoke("Restart", 6.0f); }
void GameOver() { GodTouches.PlayerMoveScript.playerYspeed = 0; this.gameObject.SetActive(false); GameOverImg.gameObject.SetActive(true); SystemSEscript systemSE = Maincamera.GetComponent <SystemSEscript>(); systemSE.GameOverSound(); }
void SoundWind() { SystemSEscript seS = Maincamera.GetComponent <SystemSEscript> (); seS.WindSound(); }