Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 2.16 KB

World.Enumerator.md

File metadata and controls

29 lines (22 loc) · 2.16 KB

World.Enumerator Struct

Enumerates the Entity of a World.

public struct World.Enumerator :
System.Collections.Generic.IEnumerator<DefaultEcs.Entity>,
System.Collections.IEnumerator,
System.IDisposable

Implements System.Collections.Generic.IEnumerator<Entity>, System.Collections.IEnumerator, System.IDisposable

Properties
Current Gets the Entity at the current position of the enumerator.
Methods
Dispose() Releases all resources used by the Enumerator.
MoveNext() Advances the enumerator to the next Entity of the World.
Reset() Sets the enumerator to its initial position, which is before the first Entity in the collection.
Explicit Interface Implementations
System.Collections.IEnumerator.Current Gets the Entity at the current position of the enumerator.