示例#1
0
    private Module_PVP() : base(true)
    {
        if (m_instance != null)
        {
            throw new Exception("Can not create " + GetType().Name + " twice.");
        }

        m_instance = this;

        pingInterval = 1.0f;
    }
示例#2
0
    protected override void OnDestroy()
    {
        base.OnDestroy();

        m_instance = null;
    }