Esempio n. 1
0
 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();
 }
Esempio n. 2
0
        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();
        }