# UpdateProperties(Object)

> Updates this Preset's properties from the given Object's values. The given Object's type must match this Preset's type.

## Definition

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

```csharp
public bool UpdateProperties(Object source)
```

### Parameters

**** (\[Object]\(/engine/6000.7/script-reference/unityengine/object)): Used by the Preset to get its new serialized values.

### Returns

| Type                                                          | Description                                              |
| ------------------------------------------------------------- | -------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the Preset was updated, false otherwise. |
