示例#1
0
    IEnumerator win()
    {
        yield return(new WaitForSeconds(1));

        StarsPanel.show(3);
        yield return(new WaitForSeconds(4));

        winx[Random.Range(0, winx.Length)].Play();
    }
示例#2
0
 public void playSound(int n)
 {
     StarsPanel.playSound(n - 1);
 }
示例#3
0
 public void hideStars()
 {
     StarsPanel.hide();
 }
示例#4
0
 void OnDestroy()
 {
     StarsPanel.hide();
 }
示例#5
0
 public void Repeat()
 {
     Loader.LEVEL = "fire_battle";
     Application.LoadLevel("loader");
     StarsPanel.hide();
 }
示例#6
0
 public void Exit()
 {
     Loader.LEVEL = "game";
     Application.LoadLevel("loader");
     StarsPanel.hide();
 }