Summary
Ensures the `destination` has the same size as `source`
then clones all its items to the `destination`.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- CloneContext
Syntax
public void CloneArray<T>(T[] source, ref T[] destination) where T : class
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| source | T[] | |
| destination | T[] |
Return Value
| Type | Description |
|---|---|
| void |