/// <summary>
        /// Close message box
        /// </summary>
        public void CloseMessageBox()
        {
            var game = (RetroDungeoneerGame)RB.Game;

            RB.SoundPlay(game.assets.soundMenuClose, 1, RandomUtils.RandomPitch(0.1f));
            mSceneMessage.CloseMessageBox();
        }
Пример #2
0
 /// <summary>
 /// Close message box
 /// </summary>
 public void CloseMessageBox()
 {
     RB.SoundPlay(C.SOUND_MENU_CLOSE, 1, RandomUtils.RandomPitch(0.1f));
     mSceneMessage.CloseMessageBox();
 }