void OnDisable()
        {
            if (instance == null)
            {
                instance = this;
            }
            if (instance != this)
            {
                return;
            }

            m_Root?.OnDisable();
        }
        void OnDisable()
        {
            if (instance == null)
            {
                instance = this;
            }
            if (instance != this)
            {
                return;
            }

            m_Root?.OnDisable();

            Events.registeredPackages -= OnRegisteredPackages;
        }