C# Class AudioFader, swip3

Inheritance: MonoBehaviour
Mostrar archivo Open project: unit9/swip3 Class Usage Examples

Public Methods

Method Description
FadeIn ( float fadeInTime ) : void
FadeIn ( float fadeInTime, double startToFadeTime ) : void
FadeOut ( float fadeOutLength, float startToFadeTime ) : void
Get ( bool &finishedFadeOut ) : float
Set0 ( ) : void

Private Methods

Method Description
_GetFadeValue ( float t, float dt ) : float

Method Details

FadeIn() public method

public FadeIn ( float fadeInTime ) : void
fadeInTime float
return void

FadeIn() public method

public FadeIn ( float fadeInTime, double startToFadeTime ) : void
fadeInTime float
startToFadeTime double
return void

FadeOut() public method

public FadeOut ( float fadeOutLength, float startToFadeTime ) : void
fadeOutLength float
startToFadeTime float
return void

Get() public method

public Get ( bool &finishedFadeOut ) : float
finishedFadeOut bool
return float

Set0() public method

public Set0 ( ) : void
return void