targetObject
The inspected object (Read Only).
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public Object targetObject { get; }
Remarks
When multi-object editing, the targetObject property will just return the first of the edited objects. To get all the objects, use the SerializedObject.targetObjects property instead.