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

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