# DataEquals(Object)

> Determines if the target object has the same serialized values as the Preset.

## Definition

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

```csharp
public bool DataEquals(Object target)
```

### Parameters

**** (\[Object]\(/engine/6000.3/script-reference/unityengine/object)): The target object to be compared against the Preset.

### Returns

| Type                                                          | Description                                                                                                 |
| ------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true when the target object has the same serialized values as the Preset. Otherwise, returns false. |
