Property | Type | Description | |
---|---|---|---|
carController | CarController, | ||
cumulativeLapTimes | float | ||
gear | int | ||
gm | GameManager, | ||
lap | int | ||
lapTimer | float | ||
lapTimes | List |
||
lastCheckpoint | int | ||
position | Vector3 | ||
racePosition | int | ||
rotation | Quaternion | ||
speed | float |
Method | Description | |
---|---|---|
GetLap ( ) : int | ||
GetLastCheckpoint ( ) : int | ||
GetOverallRaceTime ( ) : float | ||
SaveLapTime ( ) : void | ||
SetLap ( int currentLap ) : void | ||
SetLapTimer ( float lapTime ) : void | ||
SetLastCheckpoint ( int checkpoint ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
Method | Description | |
---|---|---|
CarStuck ( ) : IEnumerator | ||
IsFlipped ( ) : bool |
public SetLastCheckpoint ( int checkpoint ) : void | ||
checkpoint | int | |
return | void |