UnsafeList<T>.Enumerator
An enumerator over the elements of a list.
Read time 1 minuteLast updated 14 days ago
Definition
- Type: Struct
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
- Implements: IEnumerator<T>, IEnumerator, IDisposable
public struct UnsafeList<T>.Enumerator : IEnumerator<T>, IEnumerator, IDisposable
Remarks
In an enumerator's initial state, UnsafeList<T>.Enumerator.Current is invalid. The first UnsafeList<T>.Enumerator.MoveNext call advances the enumerator to the first element of the list.
Properties
Property | Description |
|---|---|
| Current | The current element. |