public override void CallWhenLoadResources() { m_instance = this; ID = MFUIManager.MFUIID.RewardUI; MFUIManager.GetSingleton().RegisterUI(ID, m_myGameObject); m_myGameObject.name = "RewardUI"; MFUIUtils.AttachWidget(m_myTransform, GameObject.Find("MogoMainUIPanel").transform); MFUIGameObjectPool.GetSingleton().NotRegisterGameObjectList(ID); }
public override void CallWhenUnloadResources() { m_instance = null; }