public override void CallWhenLoadResources()
    {
        m_instance = this;

        ID = MFUIManager.MFUIID.InvitFriendListUI;
        m_myGameObject.name = "InvitFriendListUI";
        MFUIUtils.AttachWidget(m_myTransform, GameObject.Find("MogoMainUIPanel").transform);
        AttachLogicUnit(InvitFriendListUILogicManager.Instance);

        System.Collections.Generic.List <MFUIResourceReqInfo> listInfo = new System.Collections.Generic.List <MFUIResourceReqInfo>();

        for (int i = 0; i < 10; ++i)
        {
            int index = i;
            MFUIResourceReqInfo info = new MFUIResourceReqInfo();
            info.id     = ID;
            info.path   = "InvitFriendListUIGrid.prefab";
            info.goName = string.Concat("InvitFriendListGrid", index);
            listInfo.Add(info);
        }

        MFUIGameObjectPool.GetSingleton().RegisterGameObjectList(listInfo, null, true);
    }
    public override void CallWhenLoadResources()
    {
        m_instance = this;

        ID = MFUIManager.MFUIID.InvitFriendListUI;
        m_myGameObject.name = "InvitFriendListUI";
        MFUIUtils.AttachWidget(m_myTransform, GameObject.Find("MogoMainUIPanel").transform);
        AttachLogicUnit(InvitFriendListUILogicManager.Instance);

        System.Collections.Generic.List<MFUIResourceReqInfo> listInfo = new System.Collections.Generic.List<MFUIResourceReqInfo>();

        for (int i = 0; i < 10; ++i)
        {
            int index = i;
            MFUIResourceReqInfo info = new MFUIResourceReqInfo();
            info.id = ID;
            info.path = "InvitFriendListUIGrid.prefab";
            info.goName = string.Concat("InvitFriendListGrid", index);
            listInfo.Add(info);

        }

        MFUIGameObjectPool.GetSingleton().RegisterGameObjectList(listInfo, null, true);
    }
 public override void CallWhenDestroy()
 {
     m_instance = null;
 }
 public override void CallWhenDestroy()
 {
     m_instance = null;
 }