ApplyTo
Applies this Preset to the target object.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Presets
- Assembly: UnityEditor.CoreModule
ApplyTo(Object)
Applies this Preset to the target object.
public bool ApplyTo(Object target)
Parameters
The target object that will be updated with the Preset serialized values.
Returns
Type | Description |
|---|---|
| bool | Returns true if the target object was successfully updated by the Preset, false otherwise. |
ApplyTo(Object, string[])
Applies this Preset to the target object.
public bool ApplyTo(Object target, string[] selectedPropertyPaths)
Parameters
Returns
Type | Description |
|---|---|
| bool | Returns true if the target object was successfully updated by the Preset, false otherwise. |