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