public void UseItem() { //This is where we decide how to use the item Debug.Log("I am going to: " + howToUse); popup.SetPopupTask(howToUse); popup.SetPopupInventorSlot(this); popup.ShowPopup(); }
public void OnPressExit() { ConfirmationPopup.ShowPopup("Are you sure you want to quit?", OnExitYes, OnExitNo); }