Пример #1
0
 public override void Leave()
 {
     m_subsystemPlayers.PlayerAdded   -= PlayersChanged;
     m_subsystemPlayers.PlayerRemoved -= PlayersChanged;
     m_subsystemPlayers = null;
     m_characterSkinsCache.Clear();
     m_playersPanel.Children.Clear();
 }
Пример #2
0
 public override void UpdateCeases()
 {
     if (base.RootWidget == null)
     {
         if (m_publicCharacterSkinsCache.ContainsTexture(m_modelWidget.TextureOverride))
         {
             m_modelWidget.TextureOverride = null;
         }
         m_publicCharacterSkinsCache.Clear();
     }
     base.UpdateCeases();
 }
Пример #3
0
 public override void Leave()
 {
     m_characterSkinsCache.Clear();
     m_playerData = null;
 }