Summary
[Editor-Only]
Sets the `value` equal to the `primary` value. If it was already at the value, it sets it equal to the
`secondary` value instead.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- Default
Value Attribute
Syntax
public static void SetToDefault<T>(ref T value, T primary, T secondary)
Type Parameters
| Name | Description |
|---|---|
| T |
Parameters
| Name | Type | Description |
|---|---|---|
| value | T | |
| primary | T | |
| secondary | T |
Return Value
| Type | Description |
|---|---|
| void |