docs.unity.cn
    Show / Hide Table of Contents

    Method GetDynamicSharedComponentTypeHandle

    GetDynamicSharedComponentTypeHandle(ComponentType)

    Manually gets the run-time type information required to access a shared component data in a chunk.

    Declaration
    public DynamicSharedComponentTypeHandle GetDynamicSharedComponentTypeHandle(ComponentType componentType)
    Parameters
    Type Name Description
    ComponentType componentType

    The component type to get access to.

    Returns
    Type Description
    DynamicSharedComponentTypeHandle

    An object representing the type information required to safely access shared component data stored in a chunk.

    Remarks

    Remember to call Update(ref SystemState).

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