Method RegisterUnityEngineObjectType
RegisterUnityEngineObjectType(Type)
Register a UnityEngine.Object type with the TypeManager.
Declaration
public static void RegisterUnityEngineObjectType(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The type to register |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if the type does not inherit from UnityEngine.Object. |