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