Ejemplo n.º 1
0
 /// <summary>
 /// Activates the Menu Mode and plays a given Theme as the menu background music.
 /// </summary>
 /// <remarks>
 /// The Menu Mode is designed for all kinds of in-game menus, where the gameplay is interrupted and frozen
 /// In Menu Mode no intensity curve will be applied, so the music holds the intensity-level just
 /// like a Continuous Action Theme. When the Player returns to the game, call menuModeLeave() to switch back to the previous state.
 /// </remarks>
 /// <seealso cref="MenuModeLeave"/>
 /// <param name="menuThemeId">the id of the theme to play in the background while in menu mode.</param>
 /// <param name="menuThemeIntensity">the static intensity of the menu Theme playback</param>
 /// <returns>PsaiResult.OK if successful</returns>
 public PsaiResult MenuModeEnter(int menuThemeId, float menuThemeIntensity)
 {
     return(m_logik.MenuModeEnter(menuThemeId, menuThemeIntensity));
 }