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