Summary
Creates a new T and calls
Animancer.ICopyable`1.CopyFrom(`0)
on it.- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerUtilities
Syntax
public static T Clone<T>(this T original) where T : class, ICopyable<T>, new()
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
original | T |
Return Value
Type | Description |
---|---|
T |