IEnumerator win() { yield return(new WaitForSeconds(1)); StarsPanel.show(3); yield return(new WaitForSeconds(4)); winx[Random.Range(0, winx.Length)].Play(); }
public void playSound(int n) { StarsPanel.playSound(n - 1); }
public void hideStars() { StarsPanel.hide(); }
void OnDestroy() { StarsPanel.hide(); }
public void Repeat() { Loader.LEVEL = "fire_battle"; Application.LoadLevel("loader"); StarsPanel.hide(); }
public void Exit() { Loader.LEVEL = "game"; Application.LoadLevel("loader"); StarsPanel.hide(); }