C# Class MadMaxCarAudio, ProjectPhoenix

Inheritance: MonoBehaviour
显示文件 Open project: Alx666/ProjectPhoenix Class Usage Examples

Public Properties

Property Type Description
Curve UnityEngine.AnimationCurve
DEBUG_GEARINDEX float
HighAccelClip UnityEngine.AudioClip
HighDecelClip UnityEngine.AudioClip
HighPitchMultiplier float
LowAccelClip UnityEngine.AudioClip
LowDecelClip UnityEngine.AudioClip
MaxRolloffDistance float
PitchMultiplier float
RolloffCurve UnityEngine.AnimationCurve

Public Methods

Method Description
Awake ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
Update ( ) : void

Private Methods

Method Description
Revs ( float fSpeed, float fPeriod, float fAmplitude, float fAddendum ) : float
SetUpEngineAudioSource ( AudioClip clip ) : AudioSource
ULerp ( float from, float to, float value ) : float

Method Details

Awake() public method

public Awake ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

Curve public_oe property

public AnimationCurve,UnityEngine Curve
return UnityEngine.AnimationCurve

DEBUG_GEARINDEX public_oe property

public float DEBUG_GEARINDEX
return float

HighAccelClip public_oe property

public AudioClip,UnityEngine HighAccelClip
return UnityEngine.AudioClip

HighDecelClip public_oe property

public AudioClip,UnityEngine HighDecelClip
return UnityEngine.AudioClip

HighPitchMultiplier public_oe property

public float HighPitchMultiplier
return float

LowAccelClip public_oe property

public AudioClip,UnityEngine LowAccelClip
return UnityEngine.AudioClip

LowDecelClip public_oe property

public AudioClip,UnityEngine LowDecelClip
return UnityEngine.AudioClip

MaxRolloffDistance public_oe property

public float MaxRolloffDistance
return float

PitchMultiplier public_oe property

public float PitchMultiplier
return float

RolloffCurve public_oe property

public AnimationCurve,UnityEngine RolloffCurve
return UnityEngine.AnimationCurve