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