Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


PropertyModificationToEditorCurveBinding(PropertyModification, GameObject, out EditorCurveBinding)

Use this method to convert a PropertyModification to an EditorCurveBinding.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor

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.