docs.unity.cn
    Show / Hide Table of Contents

    Property ChunkCount

    ChunkCount

    The current number of chunks storing entities having this archetype.

    Declaration
    public readonly int ChunkCount { get; }
    Property Value
    Type Description
    Int32

    The number of chunks.

    Remarks

    This value can change whenever structural changes occur. Structural changes include creating or destroying entities, adding components to or removing them from an entity, and changing the value of shared components, all of which alter where entities are stored.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Wednesday, July 6, 2022
    Terms of use