Documentation

Unity Engine


Unity Engine


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.
Read time 1 minuteLast updated 3 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static NativeList<SystemTypeIndex> GetSystemTypeIndices(WorldSystemFilterFlags filterFlags = WorldSystemFilterFlags.All, WorldSystemFilterFlags requiredFlags = (WorldSystemFilterFlags)0, WorldSystemFilterFlags excludedFlags = WorldSystemFilterFlags.Disabled)

Parameters

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

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

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