diff --git a/Source/Engine/Utilities/State.cs b/Source/Engine/Utilities/State.cs index 9941e0066..fee831ddd 100644 --- a/Source/Engine/Utilities/State.cs +++ b/Source/Engine/Utilities/State.cs @@ -52,5 +52,11 @@ namespace FlaxEngine.Utilities public virtual void OnExit(State nextState) { } + + /// + public override string ToString() + { + return GetType().Name; + } } }