コード例 #1
0
ファイル: Player.cs プロジェクト: kitbdev/FinalProjectGDD2
 /// move back to last checkpoint with full health
 public void Respawn()
 {
     FullHeal();
     UpdateHaloA();
     // full heal effect?
     anim.SetBool("Dead", false);
     transform.position = lm.GetCheckpoint().position;
     grounded           = false;
     cam.LevelLoaded();
     // animation?
 }