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

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