Esempio n. 1
0
    //游戏开始时,初始化任务面板
    void InstQuest()
    {
        ArrayList questlist = PlayerInfo.GetPlayerInfo().QuestList;

        foreach (PlayerInfo.QuestInfo info in questlist)
        {
            //添加任务信息记录,方便以后查找
            QuestBase Quest = new QuestBase();
            Quest = GetQuestInfoByID(info.ID);
            NowQuestInfoList.Add(Quest);
            UIInstance.AddQustUI(GetQuestInfoByID(info.ID));
        }
    }