public void Restart() { this.Status = Game_STATUS.Ready; pipelineManager.Init(); player.Init(); this.Score = 0; }
public void StartGame() { //UpdateGame(); //Debug.LogFormat("Start Game:{0}", this.status); this.Status = Game_STATUS.InGame; pipelineManager.StartRun(); Debug.LogFormat("Start Game:{0}", this.Status); player.Fly(); player.onSorce = onPlayerSorce; }
private void Player_death() { this.Status = Game_STATUS.GameOver; this.pipelineManager.Stop(); }