ドキュメント

Unity Engine

Unity Engine

targetObject

The inspected object (Read Only).
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.