Пример #1
0
        private IEnumerator Start()
        {
            yield return(new WaitForSeconds(1f));

            this.m_QuestCollection = GetComponent <QuestCollection>();
            QuestManager.current.OnQuestStatusChanged  += OnQuestStatusChanged;
            QuestManager.current.OnTaskProgressChanged += OnTaskChanged;
            QuestManager.current.OnTaskStatusChanged   += OnTaskChanged;
            UpdateQuestIndicator();
        }
Пример #2
0
 protected override void Start()
 {
     base.Start();
     this.m_QuestCollection = GetComponent <QuestCollection>();
 }