示例#1
0
 public void win()
 {
     Ground.Stop();
     winning  = true;
     OnGround = true;
     anim.SetBool("jump", false);
     dashing   = false;
     canDash   = true;
     jumpStart = false;
     tRight    = false;
     tLeft     = false;
     GameMaster.EndGame();
     WP.show();
     UIP.hide();
     anim.SetBool("idle", true);
     GameMaster.beatLevel(GameMaster.Level);
     PlayerStats.Save();
 }