public void PerformTheItemSwitch(RobotLoadout playerLo) { string newText = playerLo.loadout[(int)thisItem.itemLoc].itemName + "\nSwitched for\n" + thisItem.itemName; np.NotificationsPanelSetEnable(newText); RobotFunctions.ReplaceDropPart(this, playerLo); RenameAndReset(); }
void EndOfGame() { if (!FindObjectOfType <BossBehavior> ()) { notifPanel = FindObjectOfType <NotificationsPanel>(); string newText = "Enemies can now drop Periphetes' Bronze Pipe!"; notifPanel.NotificationsPanelSetEnable(newText); Theseus.Core.PlayerPrefsManager.SetBossBeaten(1); StartCoroutine(WaitAndEndScene()); } }
public void BeginAlert() { string newText = "The Quest " + currentQuest.eventName + " has been added to your log."; notifPanel.NotificationsPanelSetEnable(newText); }