docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Insert

    Insert(int, T)

    Insert an item in the list.

    Declaration
    public void Insert(int index, T item)
    Parameters
    Type Name Description
    int index

    Index at which to insert the new item.

    T item

    Item to insert in the list.

    Implements
    IList<T>.Insert(int, T)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)