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.
Read time 1 minuteLast updated 11 days ago
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 |