//クリア:プレイヤーだけ動かす+1秒後にクリア画像とクリア音 public void ClearAfter1Sec() { PlayerMoveScript Pmove = this.GetComponent <PlayerMoveScript>(); Pmove.StartPlayer(); Invoke("Clear", 1.0f); }
void StartPlay() { player.SetActive(true); PlayerMoveScript pMoveS = Maincamera.GetComponent <PlayerMoveScript> (); pMoveS.StartPlayer(); TitleImg.gameObject.SetActive(false); TitleBG.gameObject.SetActive(false); }
//ボスの死亡処理 public void FlagClear() { BossFlag = 4; CameraMoveScript.CameraStopper = 0; GodTouches.PlayerMoveScript Pmove = Maincamera.GetComponent <GodTouches.PlayerMoveScript>(); Pmove.StartPlayer(); Invoke("clear", 3.0f); }