ドキュメント

Unity Engine

Unity Engine

activeInstanceID

Returns the instanceID of the actual object selection. Includes Prefabs, non-modifiable objects.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
注意
Removed. Use activeEntityId instead.
public static int activeInstanceID { get; set; }

Remarks

When working with objects that are primarily in a Scene, it is strongly recommended to use Selection.activeTransform instead.