docs.unity.cn
    Show / Hide Table of Contents

    Method RemoveRange

    RemoveRange(Int32, Int32)

    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
    Int32 index

    The first element to remove.

    Int32 count

    How many elements tot remove.

    Remarks

    The buffer capacity remains unchanged.

    Examples
            buffer.RemoveRange(start, 5);
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use