docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct UnsafeHashSet<T>.Enumerator

    An enumerator over the values of a set.

    Namespace: Unity.Collections.LowLevel.Unsafe
    Assembly: Unity.Collections.dll
    Syntax
    public struct UnsafeHashSet<T>.Enumerator
    Remarks

    In an enumerator's initial state, Current is invalid. The first MoveNext() call advances the enumerator to the first value.

    Properties

    Current

    The current value.

    Declaration
    public T Current { get; }
    Property Value
    Type Description
    T

    The current value.

    Methods

    Dispose()

    Does nothing.

    Declaration
    public void Dispose()

    MoveNext()

    Advances the enumerator to the next value.

    Declaration
    public bool MoveNext()
    Returns
    Type Description
    bool

    True if Current is valid to read after the call.

    Reset()

    Resets the enumerator to its initial state.

    Declaration
    public void Reset()
    In This Article
    Back to top
    Copyright © 2024 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)