public override void CallWhenLoadResources()
    {
        m_instance = this;
        //ID = MFUIManager.MFUIID.NewBattleRewardUI;
        //MFUIManager.GetSingleton().RegisterUI(MFUIManager.MFUIID.NewBattleRewardUI, m_myGameObject);
        m_myGameObject.name = "NewBattleRewardUI";
        MFUIUtils.AttachWidget(m_myTransform, GameObject.Find("MogoMainUIPanel").transform);

        MFUIGameObjectPool.GetSingleton().NotRegisterGameObjectList(ID);
    }
예제 #2
0
    public override void CallWhenLoadResources()
    {
        m_instance = this;
        //ID = MFUIManager.MFUIID.NewBattleRewardUI;
        //MFUIManager.GetSingleton().RegisterUI(MFUIManager.MFUIID.NewBattleRewardUI, m_myGameObject);
        m_myGameObject.name = "NewBattleRewardUI";
        MFUIUtils.AttachWidget(m_myTransform, GameObject.Find("MogoMainUIPanel").transform);

        MFUIGameObjectPool.GetSingleton().NotRegisterGameObjectList(ID);
    }