public void AnimateTextInPagedDialog(string text, Action completion) { IEnumerable <DialogPage> dialogPages = GetDialogPages(text); var cutscene = new Cutscene(); foreach (var page in dialogPages) { cutscene.Add(new DialogPageAction(page, this)); } var context = new CutsceneQueueContext(this, completion); _pagedDialogCutsceneQueue = new CutsceneQueue(cutscene, context); _pagedDialogCutsceneQueue.Run(); }