Fix minor errors

This commit is contained in:
Wojtek Figat
2024-11-20 16:30:23 +01:00
parent a890326b82
commit 03fe1f72a3
2 changed files with 3 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ namespace FlaxEngine.Utilities
public static string GetTypeDisplayName(this Type type)
{
// Special display for in-built basic types
if (type == null)
return "Null";
if (type == typeof(bool))
return "Bool";
if (type == typeof(float))