How to know the animation(.anim) is Generic or Humanoid?

Is there any way to know the animation(.anim file) is Generic or Humanoid?
It’s binary. And I have no original fbx file.

from the .anim directly no, you need to load the asset in an AnimationClip and then use

if animationclip.humanMotion returns false then it a generic clip otherwise a humanoid clip

2 Likes