UpdateProperties(Object)
Updates this Preset's properties from the given Object's values. The given Object's type must match this Preset's type.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Presets
- Assembly: UnityEditor.CoreModule
public bool UpdateProperties(Object source)
Parameters
Used by the Preset to get its new serialized values.
Returns
Type | Description |
|---|---|
| bool | Returns true if the Preset was updated, false otherwise. |