기술 자료

Unity Engine

Unity Engine

instanceIDs

The actual unfiltered selection from the Scene returned as instance ids instead of Selection.objects.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static int[] instanceIDs { get; set; }

Remarks

All objects will be returned, including assets in projects. You can also assign objects to the selection.
The instance ID of an object is always guaranteed to be unique.