# MoveNext()

> Advances the enumerator to the next character, returning true if NativeText.Enumerator.Current is valid to read afterwards.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Collections](/engine/6000.7/script-reference/unity/collections.md)
* **Assembly:** UnityEngine.ManagedKernelModule

```csharp
public bool MoveNext()
```

### Returns

| Type                                                          | Description                                                                                                                                                  |
| ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if [NativeText.Enumerator.Current](/engine/6000.7/script-reference/unity/collections/nativetext/enumerator/current.md) is valid to read after the call. |
