unity how to check serialized enum
int index = Array.IndexOf(Enum.GetValues(typeof(AnimatorControllerParameterType)), AnimatorControllerParameterType.Bool);
Are there any code examples left?
New code examples in category C#
int index = Array.IndexOf(Enum.GetValues(typeof(AnimatorControllerParameterType)), AnimatorControllerParameterType.Bool);