World.Enumerator.md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.World
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. |