GetAnimatableBindings(GameObject, GameObject)
Retrieves the animatable bindings for a specific GameObject.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static EditorCurveBinding[] GetAnimatableBindings(GameObject targetObject, GameObject root)
Parameters
Returns
Type | Description |
|---|---|
| EditorCurveBinding[] |
Remarks
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.