Exemplo n.º 1
0
 public string ShowMenu(string caption, QuestDictionary <string> options, bool allowCancel)
 {
     if (m_worldModel.Version >= WorldModelVersion.v540)
     {
         throw new Exception("The 'ShowMenu' function is not supported for games written for Quest 5.4 or later. Use the 'show menu' script command instead.");
     }
     return(m_worldModel.DisplayMenu(caption, options, allowCancel, false));
 }