From 460bcf59eb0a82fe2d10e60830d7a1cec5bbc214 Mon Sep 17 00:00:00 2001 From: Jon Manning Date: Fri, 24 May 2024 08:14:44 +1000 Subject: [PATCH] In DialogueViewBase, invoke the legacy DialogueStarted and DialogueComplete methods in the newer async equivalents --- Runtime/Views/DialogueViewBase.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Runtime/Views/DialogueViewBase.cs b/Runtime/Views/DialogueViewBase.cs index 81fd84de..7bb292d8 100644 --- a/Runtime/Views/DialogueViewBase.cs +++ b/Runtime/Views/DialogueViewBase.cs @@ -382,11 +382,15 @@ public virtual void UserRequestedViewAdvancement() public override YarnTask OnDialogueStartedAsync() { + // Invoke the synchronous version of 'dialogue started' + this.DialogueStarted(); return YarnTask.CompletedTask; } public override YarnTask OnDialogueCompleteAsync() { + // Invoke the synchronous version of 'dialogue started' + this.DialogueComplete(); return YarnTask.CompletedTask; }