C# Class MusicHandler, RPGQuest

Inheritance: MonoBehaviour
Exibir arquivo Open project: hughrogers/RPGQuest Class Usage Examples

Public Methods

Method Description
CheckPlay ( MusicClip, m ) : bool
DoTick ( ) : void
FadeIn ( MusicClip, m, float time, EaseType type ) : void
FadeIn ( int index, float time, EaseType type ) : void
FadeInStored ( float time, EaseType type ) : void
FadeOut ( float time, EaseType type ) : void
FadeTo ( MusicClip, m, float time, EaseType type ) : void
FadeTo ( int index, float time, EaseType type ) : void
FadeToStored ( float time, EaseType type ) : void
GetCurrentID ( ) : int
GetCurrentTime ( ) : float
IsPlaying ( ) : bool
Play ( MusicClip, m ) : void
Play ( int index ) : void
PlayFromTime ( int index, float t ) : void
PlayStored ( ) : void
SetTime ( float t ) : void
Stop ( ) : void
StoreCurrent ( ) : void

Private Methods

Method Description
Awake ( ) : void
DoTick2 ( ) : IEnumerator
Update ( ) : void

Method Details

CheckPlay() public method

public CheckPlay ( MusicClip, m ) : bool
m MusicClip,
return bool

DoTick() public method

public DoTick ( ) : void
return void

FadeIn() public method

public FadeIn ( MusicClip, m, float time, EaseType type ) : void
m MusicClip,
time float
type EaseType
return void

FadeIn() public method

public FadeIn ( int index, float time, EaseType type ) : void
index int
time float
type EaseType
return void

FadeInStored() public method

public FadeInStored ( float time, EaseType type ) : void
time float
type EaseType
return void

FadeOut() public method

public FadeOut ( float time, EaseType type ) : void
time float
type EaseType
return void

FadeTo() public method

public FadeTo ( MusicClip, m, float time, EaseType type ) : void
m MusicClip,
time float
type EaseType
return void

FadeTo() public method

public FadeTo ( int index, float time, EaseType type ) : void
index int
time float
type EaseType
return void

FadeToStored() public method

public FadeToStored ( float time, EaseType type ) : void
time float
type EaseType
return void

GetCurrentID() public method

public GetCurrentID ( ) : int
return int

GetCurrentTime() public method

public GetCurrentTime ( ) : float
return float

IsPlaying() public method

public IsPlaying ( ) : bool
return bool

Play() public method

public Play ( MusicClip, m ) : void
m MusicClip,
return void

Play() public method

public Play ( int index ) : void
index int
return void

PlayFromTime() public method

public PlayFromTime ( int index, float t ) : void
index int
t float
return void

PlayStored() public method

public PlayStored ( ) : void
return void

SetTime() public method

public SetTime ( float t ) : void
t float
return void

Stop() public method

public Stop ( ) : void
return void

StoreCurrent() public method

public StoreCurrent ( ) : void
return void