文档

Unity Engine

Unity Engine

targetEntityIds

Per-target EntityId s in declaration order, parallel to SerializedObject.targetObjects for Object targets, or the sole source of target identity for ECS-component targets.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public EntityId[] targetEntityIds { get; }

Remarks

Homogeneity is enforced at construction — all entries share the same TypeId (all Unity objects, or all components of the same type).