Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorUtility.CopySerialized

static function CopySerialized(source: Object, dest: Object): void;
static void CopySerialized(Object source, Object dest);
static def CopySerialized(source as Object, dest as Object) as void

Description

Copy all settings of a Unity Object.