This version of Unity is unsupported.

Preset.DataEquals

Declaration

public bool DataEquals(Object target);

Parameters

target The target object to be compared against the Preset.

Returns

bool Returns true when the target object has the same serialized values as the Preset. Otherwise, returns false.

Description

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