Method | Description | |
---|---|---|
PlayMusicGameAction ( IGameAction parent, MusicInfo musicInfo ) : System |
Initializes a new instance of the PlayMusicGameAction class.
|
|
PlayMusicGameAction ( MusicInfo musicInfo, Scene scene = null ) : System |
Initializes a new instance of the PlayMusicGameAction class.
|
Method | Description | |
---|---|---|
PerformCancel ( ) : void |
Perform cancelation event
|
|
PerformRun ( ) : void |
Perform run action
|
|
PerformSkip ( ) : bool |
Skip the action
|
Method | Description | |
---|---|---|
OnSongCompleted ( object sender, |
The music has been completed
|
public PlayMusicGameAction ( IGameAction parent, MusicInfo musicInfo ) : System | ||
parent | IGameAction | The parent task. |
musicInfo | MusicInfo | The music info to play |
return | System |
public PlayMusicGameAction ( MusicInfo musicInfo, Scene scene = null ) : System | ||
musicInfo | MusicInfo | The music info to play |
scene | Scene | The associated scene. |
return | System |