public void Unpack(TimeIntervalData _timeIntervalData, SneakDiary _sneakDiaryRef, bool _faceLeft) { faceLeft = _faceLeft; sneakDiaryRef = _sneakDiaryRef; timeIntervalData = _timeIntervalData; xImage.sprite = timeIntervalData.isMajorEvent ? xLarge : xSmall; //Set size of X sprite xImage.SetNativeSize(); }
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; }