Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

SerializedObject.targetObject

public Object targetObject;

Description

The inspected object (Read Only).

When multi-object editing, the targetObject property will just return the first of the edited objects. To get all the objects, use the targetObjects property instead.