コード例 #1
0
 public void die()
 {
     dying = true;
     this.GetComponent <PlayerController2D>().enabled = false;
     AutoFade.FadeOut(Color.black, restartCurrentScene);
 }