Summary
Creates a new instance of the `type` using its parameterless constructor if it has one or a fully
uninitialized object if it doesn't. Or returns
null
if the System.Type.IsAbstract
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerReflection
Syntax
public static Object CreateDefaultInstance(Type type)
Parameters
Name | Type | Description |
---|---|---|
type | Type |
Return Value
Type | Description |
---|---|
Object |