示例#1
0
文件: MainGame.cs 项目: Whenti/GGJ20
 public void play(bool btutorial = false)
 {
     this.GetComponent <AudioSource>().Play();
     my_camera.setState(CameraLogic.CameraState.ToGame);
     game_state = GameState.WaitingCamera;
     tutorial   = btutorial;
     CanvasUI.gameObject.SetActive(true);
     if (tutorial)
     {
         player.transform.position = posInitialePlayerTuto.position;
     }
     else
     {
         player.transform.position = posInitialePlayer.position;
     }
 }
示例#2
0
 public void Prepare()
 {
     syringe_mode = SyringeMode.Waiting;
     my_camera.setState(CameraLogic.CameraState.ToOverall);
 }