C# Class AudioFader, swip3

Inheritance: MonoBehaviour
Afficher le fichier Open project: unit9/swip3 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
_GetFadeValue ( float t, float dt ) : float

Method Details

FadeIn() public méthode

public FadeIn ( float fadeInTime ) : void
fadeInTime float
Résultat void

FadeIn() public méthode

public FadeIn ( float fadeInTime, double startToFadeTime ) : void
fadeInTime float
startToFadeTime double
Résultat void

FadeOut() public méthode

public FadeOut ( float fadeOutLength, float startToFadeTime ) : void
fadeOutLength float
startToFadeTime float
Résultat void

Get() public méthode

public Get ( bool &finishedFadeOut ) : float
finishedFadeOut bool
Résultat float

Set0() public méthode

public Set0 ( ) : void
Résultat void