public override void Update(Task caller) { // Flag quest over so quest machine can remove it //Debug.LogFormat("Ending quest {0}", ParentQuest.UID); ParentQuest.QuestBreak = true; ParentQuest.EndQuest(); SetComplete(); }
public override void Update(Task caller) { // "saying" popup if (textId != 0) { ParentQuest.ShowMessagePopup(textId); } // Flag quest over so quest machine can remove it //Debug.LogFormat("Ending quest {0}", ParentQuest.UID); ParentQuest.QuestBreak = true; ParentQuest.EndQuest(); SetComplete(); }