GetEntityIdsFromNodes(ReadOnlySpan<HierarchyNode>, Span<EntityId>)
Gets the EntityId corresponding to each HierarchyNode in nodes. Slots already set to a non- EntityId.None value must be skipped.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Hierarchy
- Assembly: UnityEngine.HierarchyCoreModule
public virtual int GetEntityIdsFromNodes(ReadOnlySpan<HierarchyNode> nodes, Span<EntityId> outEntityIds)
Parameters
Returns
Type | Description |
|---|---|
| int | The number of slots in |