Skip to content

Struct World.AliveEntityEnumerable.Enumerator ​

Namespace: KenseiECS

Struct enumerator — no allocation.

csharp
public struct World.AliveEntityEnumerable.Enumerator

Inherited Members ​

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Properties ​

Current ​

Entity at the current position.

csharp
public Entity Current { get; }

Property Value ​

Entity

Methods ​

MoveNext() ​

Advance to the next alive entity. Returns false when no more remain.

csharp
public bool MoveNext()

Returns ​

bool