TypeUtility
Utility class around Type.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Class
- Namespace: Unity.Properties
- Assembly: UnityEngine.PropertiesModule
public static class TypeUtility
Static Methods
Method | Description |
|---|---|
| CanBeInstantiated | Returns |
| GetRootType | Utility method to return the base type. |
| GetTypeDisplayName | Utility method to get the name of a type which includes the parent type(s). |
| Instantiate | Creates a new instance of the specified T. |
| InstantiateArray | Creates a new instance of an array with the given count. |
| SetExplicitInstantiationMethod | Sets an explicit instantiation method for the T type. |
| TryInstantiate | Creates a new instance of the specified T. |
| TryInstantiateArray | Tries to create a new instance of an array with the given count. |