Improve asset reference debug in C# when it's empty

This commit is contained in:
Wojtek Figat
2024-09-12 12:41:03 +02:00
parent e834f2ec94
commit 0bc98a5f18

View File

@@ -130,7 +130,7 @@ namespace FlaxEngine
/// <inheritdoc />
public override string ToString()
{
return Asset?.ToString();
return Asset?.ToString() ?? "null";
}
/// <inheritdoc />