Summary
Creates a T 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 T CreateDefaultInstance<T>()
Type Parameters
Name | Description |
---|---|
T |
Return Value
Type | Description |
---|---|
T |