Struct PooledEntityList.Enumerator
Stack-allocated enumerator over the entity array segment.
public struct PooledEntityList.Enumerator : IEnumerator<EntityId>, IEnumerator, IDisposable
- Implements
- Inherited Members
Properties
Current
The entity at the current position.
public EntityId Current { get; }
Property Value
Methods
Dispose()
No-op — the enumerator holds no resources to release.
public void Dispose()
MoveNext()
Advances to the next entity.
public bool MoveNext()
Returns
- bool
trueif another entity is available;falseonce the segment is exhausted.
Reset()
Resets the enumerator to before the first entity.
public void Reset()