public static MainLandLogic GetInstance() { if (m_Inited) { return(m_Instance); } m_Inited = true; GameObject go = new GameObject("_MainLandLogic"); DynamicMonoILR monoILR = go.AddComponent <DynamicMonoILR>(); monoILR.hotfixClassPath = "Hotfix_LT.UI.MainLandLogic"; m_Instance = go.GetMonoILRComponent <MainLandLogic>(); //m_Instance = go.AddComponent<MainLandLogic>(); m_Instance.Initialize(); DataLookupILR dataup = go.AddComponent <DataLookupILR>(); dataup.hotfixClassPath = "Hotfix_LT.UI.TaskManagerDataLookup"; m_Instance.m_TaskManager = go.GetDataLookupILRComponent <TaskManagerDataLookup>(); SceneTriggerManager.Instance.Init(); return(m_Instance); }
public override void SetDataLookup(DataLookupILR dataLookup) { mDL = dataLookup; }
public virtual void SetDataLookup(DataLookupILR dataLookup) { }