示例#1
0
 public void OnCheckpointLoaded(Checkpoint checkpoint)
 {
     StartCoroutine(Respawn(checkpoint.SpawnPoint.position));
 }
 public void ChangeCheckpoint(Checkpoint newCheckpoint)
 {
     LastCheckpoint = newCheckpoint;
     OnCheckpointChanged(newCheckpoint);
 }
示例#3
0
 public void OnCheckpointChanged(Checkpoint checkpoint)
 {
     checkpointHp = HealthSystem.CurrentHp;
 }