기술 자료

Unity Engine

Unity Engine

targetObject

The inspected object (Read Only).
읽는 시간 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.