public override void Leave() { m_subsystemPlayers.PlayerAdded -= PlayersChanged; m_subsystemPlayers.PlayerRemoved -= PlayersChanged; m_subsystemPlayers = null; m_characterSkinsCache.Clear(); m_playersPanel.Children.Clear(); }
public override void UpdateCeases() { if (base.RootWidget == null) { if (m_publicCharacterSkinsCache.ContainsTexture(m_modelWidget.TextureOverride)) { m_modelWidget.TextureOverride = null; } m_publicCharacterSkinsCache.Clear(); } base.UpdateCeases(); }
public override void Leave() { m_characterSkinsCache.Clear(); m_playerData = null; }