docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveAtSwapBack

    RemoveAtSwapBack(int)

    Removes the element at the specified index and swaps the last element into its place. This is more efficient than moving all elements following the removed element, but does change the order of elements in the buffer.

    Declaration
    public void RemoveAtSwapBack(int index)
    Parameters
    Type Name Description
    int index

    The index of the element to remove.

    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)