docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetAllSystemTypeIndices

    GetAllSystemTypeIndices(WorldSystemFilterFlags, bool)

    Calculates a list of all systems filtered with WorldSystemFilterFlags, [DisableAutoCreation] etc. Prefer this over GetAllSystems if possible, to avoid extra reflection usage.

    Declaration
    public static NativeList<SystemTypeIndex> GetAllSystemTypeIndices(WorldSystemFilterFlags filterFlags, bool requireExecuteInEditor = false)
    Parameters
    Type Name Description
    WorldSystemFilterFlags filterFlags

    The filter flags to search for.

    bool requireExecuteInEditor

    Optionally require that [WorldSystemFilter(WorldSystemFilterFlags.Editor)] is present on the system. This is used when creating edit mode worlds.

    Returns
    Type Description
    NativeList<SystemTypeIndex>

    The list of filtered systems

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