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

        m_instance = this;

        pingInterval = 20.0f;
    }
Exemple #2
0
    protected override void OnDestroy()
    {
        base.OnDestroy();

        m_instance = null;
    }