public void Restart() { Time.timeScale = 1; isEndGame = false; isPause = false; fadeUI.FadeTO(); }
//for button click public void StartButton() { Destroy(car); fadeUI.FadeTO(sceneName); }
public void Restart() { Time.timeScale = 1; isEndGame = false; isPause = false; fadeUI.FadeTO(); }
//for button click public void StartButton() { Destroy(car); fadeUI.FadeTO(sceneName); }