docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSystemTypeIndices

    GetSystemTypeIndices(WorldSystemFilterFlags, WorldSystemFilterFlags, WorldSystemFilterFlags)

    Return an array of all System types available to the runtime matching the WorldSystemFilterFlags. By default, all systems available to the runtime is returned. This version avoids unnecessary reflection.

    Declaration
    public static NativeList<SystemTypeIndex> GetSystemTypeIndices(WorldSystemFilterFlags filterFlags = WorldSystemFilterFlags.All, WorldSystemFilterFlags requiredFlags = (WorldSystemFilterFlags)0, WorldSystemFilterFlags excludedFlags = WorldSystemFilterFlags.Disabled)
    Parameters
    Type Name Description
    WorldSystemFilterFlags filterFlags

    Optional flags - include systems that match any of these flags (OR logic). Defaults to All.

    WorldSystemFilterFlags requiredFlags

    Required flags - include only systems that match all of these flags (AND logic). Defaults to none.

    WorldSystemFilterFlags excludedFlags

    Excluded flags - exclude systems that match any of these flags (NOT logic). Defaults to Disabled, hiding [DisableAutoCreation] systems.

    Returns
    Type Description
    NativeList<SystemTypeIndex>

    Returns a list of systems meeting the flag requirements provided

    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)