protected override void OnAwake()
        {
            base.OnAwake();
            m_UIGroupDic = new Dictionary <byte, UIGroup>();
            GameEntry.RegisterUpdateComponent(this);

            m_Standard = m_StandardWidth / (float)m_StandardHeight;
            m_Curr     = Screen.width / (float)Screen.height;

            NormalFormCanvasScaler();

            int len = m_Groups.Length;

            for (int i = 0; i < len; i++)
            {
                UIGroup group = m_Groups[i];
                m_UIGroupDic[group.Id] = group;
            }
            m_UIManager = new UIManager();
            m_UILayer   = new UILayer();
            m_UILayer.Init(m_Groups);
            m_UIPool = new UIPool();
        }