Struct NativeText.Enumerator
An enumerator over the characters (not bytes) of a NativeText.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
public struct NativeText.Enumerator
Remarks
In an enumerator's initial state, its index is invalid. The first MoveNext() call advances the enumerator's index to the first character.
Constructors
Name | Description |
---|---|
Enumerator(NativeText) | Initializes and returns an instance of NativeText.Enumerator. |
Enumerator(ReadOnly) | Initializes and returns an instance of NativeText.Enumerator. |
Properties
Name | Description |
---|---|
Current | The current character. |
Methods
Name | Description |
---|---|
Dispose() | Does nothing. |
MoveNext() | Advances the enumerator to the next character, returning true if Current is valid to read afterwards. |
Reset() | Resets the enumerator to its initial state. |