Esempio n. 1
0
        public void InitTask()
        {
            //----------------------------加入监听任务-------------------------------
            int        taskID = int.Parse(EntityMgr.PlayerPrefsEntityIns.TaskContains);
            ConfigData data   = ConfigMgr.Instance.GetConfigDataByID(taskID);

            ARTask test = new ARTask();

            test.InitTask(data);
        }
Esempio n. 2
0
        public void GetNextTask(int nextId)
        {
            PlayerLevelTaskLineData data = PlayerLevelTaskLineConfig.Instance.GetDataByID(nextId);

            if (data != null)
            {
                ARTask test = new ARTask();
                test.InitTask(data);
                EntityMgr.PlayerPrefsEntityIns.TaskContains = nextId.ToString();
            }
        }