Esempio n. 1
0
    private void Update()
    {
        CurrentController.Update();

        if (InputProfile.Pause.WasPressed)
        {
            PauseSystem.TogglePause(this);
        }

        foreach (PlayerAction action in m_inputsToQueue)
        {
            HandleInputLifetime(action);
        }

        m_inputTimer.Loop(Time.deltaTime);
    }
Esempio n. 2
0
 public void ReturnToMenu()
 {
     PauseSystem.TogglePause();
     DreamSystem.ForceEndDream();
 }