{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Struct NativeText.Enumerator | Collections | 2.3.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)