targetObject
The inspected object (Read Only).
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
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.