Exemplo n.º 1
0
 public void PauseGame()
 {
     m_previousState = m_canvasStateMachine.GetCurrentState();
     m_canvasStateMachine.SetState(m_pauseStateCanvas);
     previousMode     = Cursor.lockState;
     Cursor.lockState = CursorLockMode.None;
     Time.timeScale   = 0.0f;
 }
Exemplo n.º 2
0
 public override void BeginState()
 {
     gameObject.SetActive(true);
     m_canvasStateMachine.SetState(m_gameOverState);
     m_cameraStateMachine.SetState(m_cameraNextState);
     m_levelManager.OnlyPause();
 }
Exemplo n.º 3
0
 public void ExitConversationEarly()
 {
     m_canvasStateMachine.SetState(m_canvasDefaultState);
     m_currentNodeIndex = 0;
 }