Example #1
0
        private IEnumerator QuestThenCallback(QuestDescription description, Action callback)
        {
            yield return(description.Run(this));

            callback();
        }
Example #2
0
 public void RunQuest(QuestDescription description, Action callback)
 {
     StartCoroutine(QuestThenCallback(description, callback));
 }