Beispiel #1
0
        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);
        }
Beispiel #2
0
 public override void SetDataLookup(DataLookupILR dataLookup)
 {
     mDL = dataLookup;
 }
Beispiel #3
0
 public virtual void SetDataLookup(DataLookupILR dataLookup)
 {
 }