DirectionalSet<T>.

SetByName(string, T) Method

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(string name, T value)

Parameters

Name Type Description
name string
value T

Return Value

Type Description
int