| Parameter | Description |
|---|---|
| target | The object to update with the serialized values of the preset. |
bool True if the preset updated the target. Otherwise, false.
Applies this preset to a target object.
To check whether the preset can apply to a target, use Preset.CanBeAppliedTo. To apply only some properties, use the overload that takes selectedPropertyPaths.
| Parameter | Description |
|---|---|
| target | The object to update with the serialized values of the preset. |
| selectedPropertyPaths | The property paths of the values to apply. |
bool True if the preset updated the target. Otherwise, false.
Applies the values of selected properties of this preset to a target object.
To check whether the preset can apply to a target, use Preset.CanBeAppliedTo. The method applies only the properties in selectedPropertyPaths.