docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetEntitiesByType

    GetEntitiesByType(uint, bool)

    get all entities of a given type

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public EntityList GetEntitiesByType(uint type, bool includeUnsubscribed)
    Parameters
    Type Name Description
    uint type

    The type of entities to retrieve

    bool includeUnsubscribed

    Include unsubscribed entities

    Returns
    Type Description
    EntityList
    In This Article
    Back to top
    Copyright © 2025 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)