기술 자료

Unity Engine

Unity Engine

GetAnimatableBindings(GameObject, GameObject)

Retrieves the animatable bindings for a specific GameObject.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
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.