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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
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 |