Skip to content

Commit 32c4d45

Browse files
committed
Add a warning message if the custom typewriter on a line presenter is left unset
1 parent f2a5a27 commit 32c4d45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Runtime/Views/LinePresenter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ internal enum TypewriterType
193193
[Group("Typewriter")]
194194
[ShowIf(nameof(typewriterStyle), TypewriterType.Custom)]
195195
[UnityEngine.Serialization.FormerlySerializedAs("CustomTypewriter")]
196+
[MustNotBeNull("Attach a component that implements the " + nameof(IAsyncTypewriter) + " interface.")]
196197
public UnityEngine.Object? customTypewriter;
197198

198199
/// <summary>

0 commit comments

Comments
 (0)