private void DestroyPopupAssetsIfPossible()
 {
     if (!this.m_loadingDialog)
     {
         foreach (DialogTypeMapping mapping in this.m_typeMapping)
         {
             AssetCache.ClearGameObject(FileUtils.GameAssetPathToName(mapping.m_prefabName));
         }
     }
 }
Ejemplo n.º 2
0
 private void OnOptionsMenuHidden()
 {
     UnityEngine.Object.Destroy(this.m_optionsMenu.gameObject);
     this.m_optionsMenu = null;
     AssetCache.ClearGameObject((string)this.OPTIONS_MENU_NAME);
     if ((!SceneMgr.Get().IsModeRequested(SceneMgr.Mode.FATAL_ERROR) && !ApplicationMgr.Get().IsResetting()) && BnetBar.Get().IsEnabled())
     {
         this.Show();
     }
 }