docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IsSparse

    IsSparse()

    Returns whether the available entities are not a single contiguous run starting at slot 0 (i.e. there are gaps between available entities). A fully-available chunk returns false. Does not consume any entities, so it may be called before iterating.

    Declaration
    public readonly bool IsSparse()
    Returns
    Type Description
    bool

    Whether the available entities contain gaps.

    In This Article
    Back to top
    Copyright © 2026 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)