Bewerken

Delen via


SerializedObjectUtils.CopySerializedObject Method

Definition

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>

Returns

Applies to