예제 #1
0
        void  Awake()
        {
            //Starting the active quests array:
            ActiveQuests = new ActiveQuestsVars[MaxQuests];

            for (int i = 0; i < MaxQuests; i++)
            {
                ActiveQuests[i] = new ActiveQuestsVars();
            }

            LoadActiveQuests();

            LogUI   = FindObjectOfType(typeof(QuestLogUI)) as QuestLogUI;
            LogOpen = false;
        }
예제 #2
0
 void Awake()
 {
     LogUI = FindObjectOfType(typeof(QuestLogUI)) as QuestLogUI;
 }