# PropertyModificationToEditorCurveBinding(PropertyModification, GameObject, out EditorCurveBinding)

> Use this method to convert a PropertyModification to an EditorCurveBinding.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.3/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

## PropertyModificationToEditorCurveBinding(PropertyModification, GameObject, EditorCurveBinding)

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

### Parameters

**** (\[PropertyModification]\(/engine/6000.3/script-reference/unityeditor/propertymodification)): The [PropertyModification](/engine/6000.3/script-reference/unityeditor/propertymodification.md) to be converted.**** (\[GameObject]\(/engine/6000.3/script-reference/unityengine/gameobject)): The root game object of the animated hierarchy.**** (\[EditorCurveBinding]\(/engine/6000.3/script-reference/unityeditor/editorcurvebinding)): The resulting [EditorCurveBinding](/engine/6000.3/script-reference/unityeditor/editorcurvebinding.md).

### Returns

| Type                                                       | Description                     |
| ---------------------------------------------------------- | ------------------------------- |
| [Type](https://learn.microsoft.com/dotnet/api/system.type) | The type of the animated value. |

### Remarks

The [AnimationWindow](/engine/6000.3/script-reference/unityeditor/animationwindow.md) uses this method when it filters property modifications from [Undo.postprocessModifications](/engine/6000.3/script-reference/unityeditor/undo/postprocessmodifications-1.md), during keyframe operations.
