Exemple #1
0
 private void OnFinishHandler(QuestFinishEvent e)
 {
     AlertIcon.SetActive(true);
 }
Exemple #2
0
        //OnQuestFinish
        public static void OnQuestFinish(ThriftSCMessage msg)
        {
            var sysmsg = msg.GetContent() as SCQuestFinish;

            if (sysmsg != null)
            {
                PlayerModelLocator.Instance.HasFinishedQuest = true;
                var e = new QuestFinishEvent();
                EventManager.Instance.Post(e);
            }
            else
            {
                Logger.LogError("Notice list message should not be null.");
            }
        }