# CopyFromSerializedProperty(SerializedProperty)

> Copies a value from a SerializedProperty to the corresponding serialized property on the serialized object.

## Definition

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

```csharp
public void CopyFromSerializedProperty(SerializedProperty prop)
```

### Parameters

**** (\[SerializedProperty]\(/engine/6000.5/script-reference/unityeditor/serializedproperty)):&#x20;
