Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


entityIds

The actual unfiltered selection from the Scene returned as entityIds instead of Selection.objects.
Read time 1 minuteLast updated 10 days ago

Definition

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

Remarks

All objects will be returned, including assets in projects. You can also assign objects to the selection.
The entityId of an object is always guaranteed to be unique.
Additional Resources: Selection.objects, Object.GetEntityId().