docs.unity.cn
    Show / Hide Table of Contents

    Property Length

    Length

    The number of elements the buffer holds.

    Declaration
    public int Length { get; set; }
    Property Value
    Type Description
    Int32
    Implements
    IIndexable<T>.Length
    Examples
            for (int i = 0; i < buffer.Length; i++)
            {
                buffer[i] = i * i;
            }
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use