docs.unity.cn
    Show / Hide Table of Contents

    Method ChunkComponentReadOnly

    ChunkComponentReadOnly<T>()

    Returns a ComponentType that is a chunk component with ReadOnly based on the type.

    Declaration
    [GenerateTestsForBurstCompatibility(GenericTypeArguments = new Type[]{typeof(Entity)})]
    public static ComponentType ChunkComponentReadOnly<T>()
    Returns
    Type Description
    ComponentType

    The chunk component type

    Type Parameters
    Name Description
    T

    The type

    ChunkComponentReadOnly(Type)

    Returns a ComponentType that is a chunk component with ReadOnly based on the type.

    Declaration
    [ExcludeFromBurstCompatTesting("Takes a managed Type")]
    public static ComponentType ChunkComponentReadOnly(Type type)
    Parameters
    Type Name Description
    Type type

    The type

    Returns
    Type Description
    ComponentType

    The chunk component type

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