文档

Unity Engine

Unity Engine

PropertyModificationToEditorCurveBinding(PropertyModification, GameObject, out EditorCurveBinding)

Use this method to convert a PropertyModification to an EditorCurveBinding.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

PropertyModificationToEditorCurveBinding(PropertyModification, GameObject, EditorCurveBinding)

public static Type PropertyModificationToEditorCurveBinding(PropertyModification modification, GameObject gameObject, out EditorCurveBinding binding)

Parameters

The PropertyModification to be converted.

gameObject

The root game object of the animated hierarchy.

Returns

Type

Description

TypeThe type of the animated value.

Remarks

The AnimationWindow uses this method when it filters property modifications from Undo.postprocessModifications, during keyframe operations.