Summary
[Editor-Only]
Attempts to assign the `value` to one of this set's fields based on its name and
returns the direction index of that field (or -1 if it was unable to determine the direction).
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- DirectionalSet
<T>
Syntax
public int SetByName<U>(U value) where U : Object, T
Type Parameters
| Name | Description |
|---|---|
| U |
Parameters
| Name | Type | Description |
|---|---|---|
| value | U |
Return Value
| Type | Description |
|---|---|
| int |