using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class QuestManager : SingletonComponent<QuestManager>
{
    public Color[] questBoardColor = new Color[] { Color.white, Color.green };
    public QuestUI_Slot uiQuestSlotPrefab;
    public QuestUI_Parent uiQuestParent;

    public List<QuestInfo> questList;

    private void Awake()
    {
        for (int i = 0; i < questList.Count; i++)
        {
            questList[i].isSuccess = false;//ÃÊ±âÈ­
        }
        uiUpdate();
    }

    public void uiUpdate()
    {
        uiQuestParent.uiUpdate(questList);
    }

  
}
