Exemplo n.º 1
0
 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;
     }
 }
Exemplo n.º 2
0
 public void Prepare()
 {
     syringe_mode = SyringeMode.Waiting;
     my_camera.setState(CameraLogic.CameraState.ToOverall);
 }