Class TypeUtility
Utility class around
Namespace: Unity.Properties.Editor
Syntax
public static class TypeUtility : object
Methods
GetRootType(Type)
Utility method to return the base type.
Declaration
public static Type GetRootType(this Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The |
Returns
Type | Description |
---|---|
Type | The base type. |
GetTypeDisplayName(Type)
Utility method to get the name of a type which includes the parent type(s).
Declaration
public static string GetTypeDisplayName(Type type)
Parameters
Type | Name | Description |
---|---|---|
Type | type | The |
Returns
Type | Description |
---|---|
String | The display name of the type. |