C# Class MoveCar, SPCSAISelfDrivingCar

Inheritance: MonoBehaviour
Afficher le fichier Open project: MCKapur/SPCSAISelfDrivingCar Class Usage Examples

Méthodes publiques

Свойство 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 UnityEngine.AudioClip
mySpeed float
scaledSpeed float
shouldAccelerate float
shouldNotTurn float
shouldSendData bool
shouldTurnLeft float
shouldTurnRight float

Méthodes publiques

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

Private Methods

Méthode Description
PlaySound ( ) : void
StartAgain ( ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

IsFinished() public méthode

public IsFinished ( bool _crashed ) : void
_crashed bool
Résultat void

LoadLevel() public méthode

public LoadLevel ( string levelName, float waitTime ) : IEnumerator
levelName string
waitTime float
Résultat IEnumerator

Map() public méthode

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

OnFirstAccelerate() public méthode

public OnFirstAccelerate ( ) : void
Résultat void

RestartIn() public méthode

public RestartIn ( float waitTime ) : IEnumerator
waitTime float
Résultat IEnumerator

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

axleInfos public_oe property

public List axleInfos
Résultat List

finishText public_oe property

public Text, finishText
Résultat Text,

isAccelerating public_oe static_oe property

public static float isAccelerating
Résultat float

isControlledByAI public_oe static_oe property

public static bool isControlledByAI
Résultat bool

isFinished public_oe static_oe property

public static bool isFinished
Résultat bool

isNotTurning public_oe static_oe property

public static float isNotTurning
Résultat float

isTurningLeft public_oe static_oe property

public static float isTurningLeft
Résultat float

isTurningRight public_oe static_oe property

public static float isTurningRight
Résultat float

maxBrakeTorque public_oe property

public float maxBrakeTorque
Résultat float

maxMotorTorque public_oe property

public float maxMotorTorque
Résultat float

maxSpeed public_oe property

public float maxSpeed
Résultat float

maxSteeringAngle public_oe property

public float maxSteeringAngle
Résultat float

movingCarSound public_oe property

public AudioClip,UnityEngine movingCarSound
Résultat UnityEngine.AudioClip

mySpeed public_oe static_oe property

public static float mySpeed
Résultat float

scaledSpeed public_oe static_oe property

public static float scaledSpeed
Résultat float

shouldAccelerate public_oe static_oe property

public static float shouldAccelerate
Résultat float

shouldNotTurn public_oe static_oe property

public static float shouldNotTurn
Résultat float

shouldSendData public_oe static_oe property

public static bool shouldSendData
Résultat bool

shouldTurnLeft public_oe static_oe property

public static float shouldTurnLeft
Résultat float

shouldTurnRight public_oe static_oe property

public static float shouldTurnRight
Résultat float