Unity Jak sprawdzić indeks wyliczenia
int index = Array.IndexOf(Enum.GetValues(typeof(AnimatorControllerParameterType)), AnimatorControllerParameterType.Bool);
Sore Sloth
int index = Array.IndexOf(Enum.GetValues(typeof(AnimatorControllerParameterType)), AnimatorControllerParameterType.Bool);