![]() |
FCV Engine 0.1
A tool and framework for tutorials in game development
|
A checkpoint that will constantly check distance to player and if close enough add itself as latest CheckPointReached in CheckPointManager class. More...
Private Member Functions | |
void | Start () |
Gets player transform from static field in Movement class and sets player position to be the latest checkpoint reached. | |
void | Update () |
Checks if the player is close enough to trigger checkpoint reached; sets it's position to latest and destroys itself | |
A checkpoint that will constantly check distance to player and if close enough add itself as latest CheckPointReached in CheckPointManager class.
Definition at line 7 of file CheckPoint.cs.