# CopyFrom(AnimationCurve)

> Copies the keys and properties of the specified AnimationCurve object into this instance of the AnimationCurve class.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.6/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public void CopyFrom(AnimationCurve other)
```

### Parameters

**** (\[AnimationCurve]\(/engine/6000.6/script-reference/unityengine/animationcurve)): The [AnimationCurve](/engine/6000.6/script-reference/unityengine/animationcurve.md) object to obtain the values to copy.
