Engine

Constructors

Constructor

Description

Engine()

Members

Member

Description

controlAudio

enabled

ignitionClip

pitchGainSpeed

power

powerGainSpeed

shiftForwardClip

shiftReverseClip

targetPitch

targetThrottle

throttleGainSpeed

Methods

Method

Description

PlayIgnitionSound()

PlayShiftForwardSound()

PlayShiftReverseSound()

Reset()

ToString()

Details

class Engine
Engine Engine()
bool controlAudio
bool enabled
AudioClip ignitionClip
float pitchGainSpeed
float power
float powerGainSpeed
AudioClip shiftForwardClip
AudioClip shiftReverseClip
float targetPitch
float targetThrottle
float throttleGainSpeed
void PlayIgnitionSound()
void PlayShiftForwardSound()
void PlayShiftReverseSound()
void Reset()
string ToString()