How do you check if a Mecanim parameter exists?

Question is title. I’m using a script which will work with several different controllers and I don’t want any warnings to be spammed to the console when it tries to change a parameter that doesn’t exist on this controller.

should give you a list to check against…

1 Like