docs.unity.cn
    Show / Hide Table of Contents

    Struct ManagedComponentAccessor<T>

    Interface to a chunk's array of component values for managed component type T

    Namespace: Unity.Entities
    Syntax
    public struct ManagedComponentAccessor<T>
        where T : class
    Type Parameters
    Name Description
    T

    The target component type

    Properties

    Name Description
    Item[Int32]

    Access an element by index

    Length

    The number of elements in this accessor

    Methods

    Name Description
    ToString()

    Returns the formatted string "ManagedComponentAccessor[type_name_here]".

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023