public static void CopySerializedIfDifferent(UnityEngine.Object source, UnityEngine.Object dest) { if (source == null) { throw new ArgumentNullException("Argument 'source' is null"); } if (dest == null) { throw new ArgumentNullException("Argument 'dest' is null"); } EditorUtility.InternalCopySerializedIfDifferent(source, dest); }