docs.unity.cn
    Show / Hide Table of Contents

    Method WithAllChunkComponentRW

    WithAllChunkComponentRW<T>()

    Add a required Chunk Component type to the query.

    Declaration
    public SystemAPIQueryBuilder WithAllChunkComponentRW<T>()
    Returns
    Type Description
    SystemAPIQueryBuilder

    The builder object that invoked this method.

    Type Parameters
    Name Description
    T

    Component type to use as a required, read-write Chunk Component

    Remarks

    Call this method on the query builder to find entities that have all the specified chunk components. Chunk components are a distinct component type, which are different from adding the same type as a standard component.

    To add additional required Chunk Components, call this method multiple times.

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