docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Set

    Set<T>(int, T)

    Sets the value of the backing data at a given index.

    Declaration
    public void Set<T>(int index, T value) where T : unmanaged
    Parameters
    Type Name Description
    int index

    The index of the element.

    T value

    The value to set at the index.

    Type Parameters
    Name Description
    T

    The type of the element.

    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)