CopyFromSerializedPropertyIfDifferent(SerializedProperty)
Copies a changed value from a SerializedProperty to the corresponding serialized property on the serialized object.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public bool CopyFromSerializedPropertyIfDifferent(SerializedProperty prop)
Parameters
Returns
Type | Description |
|---|---|
| bool |
Remarks
The value is only copied to the object if it differs.