diff --git a/YarnSpinner.Compiler/Utility.cs b/YarnSpinner.Compiler/Utility.cs index 99d053864..f1147be45 100644 --- a/YarnSpinner.Compiler/Utility.cs +++ b/YarnSpinner.Compiler/Utility.cs @@ -832,6 +832,9 @@ public string Name } } + /// + public override string ToString() => this.Name; + /// /// Get the ancestors of this block - that is, blocks that may run immediately before this block. ///