How to multiple uncheck child component in transform mask of an Animation clip?

Hi there,

I imported a fbx file with more than hundred of child components. The imported model has 1 animation clip for all child components animations. I want to split that animation clip into per-component clip individually. The problem is that i have to manually uncheck other unintended child animations, it’s really taking much time. I cannot find the quick unchecking way so far. So, can somebody help me find out how to quick uncheck those unwanted components in transformation mask ?
I am using the version 4.0.1f2.

Thank you so much.

1 Answer

1

like this:

var myObject[] : Component[];

myObject = GetComponentsInChildren(Animation);

for (var kids : Animation in myObject) {
    kids.enabled = false;
}