docs.unity3d.com
Search Results for

    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
    Assembly: Unity.Entities.dll
    Syntax
    public struct ManagedComponentAccessor<T> where T : class
    Type Parameters
    Name Description
    T

    The target component type

    Properties

    Name Description
    this[int]

    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]".

    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)