docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSharedComponentDataBoxed

    GetSharedComponentDataBoxed(int, TypeIndex)

    Retrieves a shared component value as a managed boxed object.

    Declaration
    [ExcludeFromBurstCompatTesting("Accesses managed component store")]
    public object GetSharedComponentDataBoxed(int sharedComponentIndex, TypeIndex typeIndex)
    Parameters
    Type Name Description
    int sharedComponentIndex

    The shared component index

    TypeIndex typeIndex

    The type index

    Returns
    Type Description
    object

    The shared component value, boxed into an object.

    Remarks

    This API is for debugging or performance-insensitive purposes.

    See Also
    GetSharedComponent<T>(Entity)
    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)