Метод | Описание | |
---|---|---|
PlaySoundGameAction ( IGameAction parent, SoundInfo soundInfo, float volume = 1, bool loop = false ) : System |
Initializes a new instance of the PlaySoundGameAction class.
|
|
PlaySoundGameAction ( SoundInfo soundInfo, Scene scene = null, float volume = 1, bool loop = false ) : System |
Initializes a new instance of the PlaySoundGameAction class.
|
|
Update ( System.TimeSpan gameTime ) : void |
Update the game action
|
Метод | Описание | |
---|---|---|
PerformCancel ( ) : void |
Perform cancel
|
|
PerformRun ( ) : void |
Perform Run actions
|
|
PerformSkip ( ) : bool |
Skip the action
|
public PlaySoundGameAction ( IGameAction parent, SoundInfo soundInfo, float volume = 1, bool loop = false ) : System | ||
parent | IGameAction | The parent task. |
soundInfo | SoundInfo | The sound info to play |
volume | float | The sound volume |
loop | bool | The sound loop is enabled |
Результат | System |
public PlaySoundGameAction ( SoundInfo soundInfo, Scene scene = null, float volume = 1, bool loop = false ) : System | ||
soundInfo | SoundInfo | The sound info to play |
scene | Scene | The scene. |
volume | float | The sound volume |
loop | bool | The sound loop is enabled |
Результат | System |
public Update ( System.TimeSpan gameTime ) : void | ||
gameTime | System.TimeSpan | The gameTime. |
Результат | void |