ドキュメント

Unity Engine

Unity Engine

instanceIDs

The actual unfiltered selection from the Scene returned as instance ids instead of Selection.objects.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Removed. Use entityIds instead.
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.