Property | Type | Description | |
---|---|---|---|
axleInfos | List |
||
finishText | Text, | ||
isAccelerating | float | ||
isControlledByAI | bool | ||
isFinished | bool | ||
isNotTurning | float | ||
isTurningLeft | float | ||
isTurningRight | float | ||
maxBrakeTorque | float | ||
maxMotorTorque | float | ||
maxSpeed | float | ||
maxSteeringAngle | float | ||
movingCarSound | |||
mySpeed | float | ||
scaledSpeed | float | ||
shouldAccelerate | float | ||
shouldNotTurn | float | ||
shouldSendData | bool | ||
shouldTurnLeft | float | ||
shouldTurnRight | float |
Method | Description | |
---|---|---|
Awake ( ) : void | ||
FixedUpdate ( ) : void | ||
IsFinished ( bool _crashed ) : void | ||
LoadLevel ( string levelName, float waitTime ) : IEnumerator | ||
Map ( float OldMin, float OldMax, float NewMin, float NewMax, float OldValue ) : float | ||
OnFirstAccelerate ( ) : void | ||
RestartIn ( float waitTime ) : IEnumerator | ||
Update ( ) : void |
Method | Description | |
---|---|---|
PlaySound ( ) : void | ||
StartAgain ( ) : void |
public LoadLevel ( string levelName, float waitTime ) : IEnumerator | ||
levelName | string | |
waitTime | float | |
return | IEnumerator |
public Map ( float OldMin, float OldMax, float NewMin, float NewMax, float OldValue ) : float | ||
OldMin | float | |
OldMax | float | |
NewMin | float | |
NewMax | float | |
OldValue | float | |
return | float |
public RestartIn ( float waitTime ) : IEnumerator | ||
waitTime | float | |
return | IEnumerator |
public AudioClip,UnityEngine movingCarSound | ||
return |