SerializedObjectUtils.CopySerializedObject Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies properties of one serialized object to another (without undo)
public static bool CopySerializedObject (UnityEditor.SerializedObject source, UnityEditor.SerializedObject target, System.Collections.Generic.IEnumerable<string> propsToIgnore = default);
static member CopySerializedObject : UnityEditor.SerializedObject * UnityEditor.SerializedObject * seq<string> -> bool
Public Shared Function CopySerializedObject (source As SerializedObject, target As SerializedObject, Optional propsToIgnore As IEnumerable(Of String) = Nothing) As Boolean
Parameters
- source
- UnityEditor.SerializedObject
- target
- UnityEditor.SerializedObject
- propsToIgnore
- IEnumerable<String>