Свойство | 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 |
Méthode | 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 |
Méthode | Description | |
---|---|---|
PlaySound ( ) : void | ||
StartAgain ( ) : void |
public LoadLevel ( string levelName, float waitTime ) : IEnumerator | ||
levelName | string | |
waitTime | float | |
Résultat | IEnumerator |
public Map ( float OldMin, float OldMax, float NewMin, float NewMax, float OldValue ) : float | ||
OldMin | float | |
OldMax | float | |
NewMin | float | |
NewMax | float | |
OldValue | float | |
Résultat | float |
public RestartIn ( float waitTime ) : IEnumerator | ||
waitTime | float | |
Résultat | IEnumerator |
public AudioClip,UnityEngine movingCarSound | ||
Résultat |