SerializedObject.targetObject
var targetObject: Object;
Object targetObject;
targetObject as Object
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.