public void FillScroll(Quest q) { GameObject tempListing = Instantiate(QuestListings, QuestBox); QuestInfo tempInfo = tempListing.GetComponent <QuestInfo>(); tempInfo.ThisQuest = q; tempInfo.setQTitle(q.title); if (mqs.thisQuest.getTitle() == q.getTitle()) { tempInfo.setQInfo(q.info, mqs.timer); tempInfo.StartQuest(); } else { tempInfo.setQInfo(q.info, q.time); } tempInfo.StrReward = q.statBoost["Attack"]; tempInfo.DefReward = q.statBoost["Defense"]; tempInfo.SpdReward = q.statBoost["Speed"]; }