Improve asset reference debug in C# when it's empty
This commit is contained in:
@@ -130,7 +130,7 @@ namespace FlaxEngine
|
||||
/// <inheritdoc />
|
||||
public override string ToString()
|
||||
{
|
||||
return Asset?.ToString();
|
||||
return Asset?.ToString() ?? "null";
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
Reference in New Issue
Block a user