예제 #1
0
 private void OnFinishHandler(QuestFinishEvent e)
 {
     AlertIcon.SetActive(true);
 }
예제 #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.");
            }
        }