docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method ElementAt

    ElementAt(int)

    Returns a reference to the element at a given index.

    Declaration
    public ref T* ElementAt(int index)
    Parameters
    Type Name Description
    int index

    The index to access. Must be in the range of [0..Length).

    Returns
    Type Description
    T*

    A reference to the element at the index.

    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)