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