public void DisplayTextBox() { buttonString = buttonString.Replace("<br>", "\n"); if (MotherBox != null) { MotherBox.DisplayTextBox(titleString, mainString); } else { Debug.Log("MotherBox was null, please set it to a instance of motherBox"); } }
public void FeedCompanion() { if (foodAmount > 0) { foodAmount--; feedingCounter++; //Do the things to make the mascot happy here companionMunchTimer = 0.7f; if (feedingCounter == 12) { textBoxMother.DisplayTextBox(feedingLoreTitle, feedingLoreText); } } }
public void DisplayRewardText(Quest quest) { textBoxMother.DisplayTextBox(quest.questDescription, quest.rewardText); }