activeObject
Returns the actual object selection. Includes Prefabs, non-modifiable objects.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Property
- Namespace: UnityEditor
- Assembly: UnityEditor
public static Object activeObject { get; set; }
Remarks
When working with objects that are primarily in a Scene, it is strongly recommended to use Selection.activeTransform instead.