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; }
void Awake() { LogUI = FindObjectOfType(typeof(QuestLogUI)) as QuestLogUI; }