docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveRange

    RemoveRange(int, int)

    Removes the specified number of elements, starting with the element at the specified index.

    Declaration
    public void RemoveRange(int index, int count)
    Parameters
    Type Name Description
    int index

    The first element to remove.

    int count

    How many elements tot remove.

    Remarks

    The buffer capacity remains unchanged.

    Examples
    buffer.RemoveRange(start, 5);
    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)