Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

unity how to check serialized enum

int index = Array.IndexOf(Enum.GetValues(typeof(AnimatorControllerParameterType)), AnimatorControllerParameterType.Bool);
 
PREVIOUS NEXT
Tagged: #unity #check #serialized #enum
ADD COMMENT
Topic
Name
6+5 =