Exemplo n.º 1
0
 void Update()
 {
     if (XCI.GetButtonDown(XboxButton.B, allContollers))
     {
         UImm.ClearPanels();
         UImm.ShowMainMenuPanel();
     }
 }
Exemplo n.º 2
0
    public void UnPauseGame()
    {
        //Set isPaused to false
        isPaused = false;

        //Set time.timescale to 1
        Time.timeScale = 1;

        displayPanel.ClearPanels();
    }