private Module_Chat() : base(true) { if (m_instance != null) { throw new Exception("Can not create " + GetType().Name + " twice."); } m_instance = this; pingInterval = 20.0f; }
protected override void OnDestroy() { base.OnDestroy(); m_instance = null; }