public void Unpack(NPCProfileUIData _profileData, SneakDiary _sneakDiaryRef) { dataHasBeenUnpacked = true; sneakDiaryRef = _sneakDiaryRef; profileData = _profileData; //The profile Image raccoonProfileImage.Unpack(profileData, sneakDiaryRef); //The Time Intervals PopulateTimeIntervals(); //The Completion Badge EvaluateQuestCompletion(); }
public void Unpack(NPCProfileUIData _profileData, SneakDiary _sneakDiaryRef) { sneakDiaryRef = _sneakDiaryRef; profileData = _profileData; myImage.sprite = profileData.sprite; }