Exemple #1
0
 void TeleportToCheckpoint(CheckpointDetails checkpoint)
 {
     transform.position = checkpoint.checkpointGameObject.CheckpointCenter();
     _lastCheckpoint    = checkpoint;
     _rewindsLeft       = checkpoint.RewindsForThisSection;
     UpdateRewindsCountBanner(_rewindsLeft);
 }
Exemple #2
0
    // ICheckpointHit

    public void CheckpointHit(CheckpointDetails details)
    {
        _lastCheckpoint = details;
        _rewindsLeft    = details.RewindsForThisSection;
        UpdateRewindsCountBanner(_rewindsLeft);
    }