ドキュメント

Unity Engine

Unity Engine

GetAnimatableBindings(GameObject, GameObject)

Retrieves the animatable bindings for a specific GameObject.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static EditorCurveBinding[] GetAnimatableBindings(GameObject targetObject, GameObject root)

Parameters

targetObject


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.