private void OnCollisionEnter(Collision collision) { if (collision.gameObject.CompareTag("Enemy")) { LoadLevelSystem.LoadScene(LoadLevelSystem.MenuSceneName); } else if (collision.gameObject.CompareTag("Finish")) { LoadLevelSystem.LoadScene(LoadLevelSystem.GameSceneName); } }
private void StartButtonClick() { LoadLevelSystem.LoadWheelScene(); FortuneGenerator.Generate(); }
private void BackButtonClick() { LoadLevelSystem.LoadScene(LoadLevelSystem.MenuSceneName); }
private void SettingsButtonClick() { LoadLevelSystem.LoadScene(LoadLevelSystem.SettingsSceneName); }
private void PlayButtonClick() { LoadLevelSystem.LoadScene(LoadLevelSystem.GameSceneName); }