/// <summary>
        /// Show a message box
        /// </summary>
        /// <param name="header">Header text</param>
        /// <param name="message">Message text</param>
        /// <param name="options">Options</param>
        public void ShowMessageBox(FastString header, FastString message, List <SceneMessage.MessageBoxOption> options)
        {
            var game = (RetroDungeoneerGame)RB.Game;

            RB.SoundPlay(game.assets.soundMenuOpen, 1, RandomUtils.RandomPitch(0.1f));
            mSceneMessage.ShowMessageBox(header, message, options);
        }
Example #2
0
 /// <summary>
 /// Show a message box
 /// </summary>
 /// <param name="header">Header text</param>
 /// <param name="message">Message text</param>
 /// <param name="options">Options</param>
 public void ShowMessageBox(FastString header, FastString message, List <SceneMessage.MessageBoxOption> options)
 {
     RB.SoundPlay(C.SOUND_MENU_OPEN, 1, RandomUtils.RandomPitch(0.1f));
     mSceneMessage.ShowMessageBox(header, message, options);
 }