public PerClientSelectionParticles(IScenePresence presence, SelectionModule mod) { m_presence = presence; m_module = mod; //Hook up to onFrame so that we can send the updates m_presence.Scene.EventManager.OnFrame += EventManager_OnFrame; }
public void Close() { m_SelectedUUID = null; m_IsSelecting = false; m_module = null; m_EffectColor = null; if (m_presence != null) { m_presence.Scene.EventManager.OnFrame -= EventManager_OnFrame; } m_presence = null; }
public void Close() { m_SelectedUUID = null; m_IsSelecting = false; m_module = null; m_EffectColor = null; if (m_presence != null) m_presence.Scene.EventManager.OnFrame -= EventManager_OnFrame; m_presence = null; }