IEnumerator goToLvlChoose() { yield return(new WaitForSeconds(3.5f)); GameObject.Find("BikeManager").GetComponent <BikeManager> ().Reset(); GoTo.LoadEnvironmentChoose(); yield return(null); }
public void onGamePress() { AppSoundManager.Get().PlaySfx(Sfx.Type.sfx_click); loadScreen.SetActive(true); GoTo.LoadEnvironmentChoose(); }