AnimationUtility.GetAnimatableBindings

public static EditorCurveBinding[] GetAnimatableBindings(GameObject targetObject, GameObject root);

Description

Retrieves the animatable bindings for a specific GameObject.

Use this method to find which can be animated for a GameObject.

The root GameObject does not need to be an actual root, but it must be higher in the hierarchy than the target. The target and root may also be the same GameObject.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答