Uity Pause Game
public void PauseGame()
{
Time.timescale = 0;
//Open pause menu
pauseMenu.setActive(true);
}
public void ContinueGame()
{
Time.timescale = 1;
//Close pause menu
pauseMenu.setActive(false);
}
TebionDL