ドキュメント

Unity Engine

Download Unity

Unity Engine

GetAllSystems(WorldSystemFilterFlags, bool)

Calculates a list of all systems filtered with WorldSystemFilterFlags, [DisableAutoCreation] etc. Prefer GetAllSystemTypeIndices where possible to avoid extra reflection.
読み終わるまでの所要時間 1 分最終更新 22日前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public static IReadOnlyList<Type> GetAllSystems(WorldSystemFilterFlags filterFlags, bool requireExecuteInEditor = false)

Parameters

The filter flags to search for.

requireExecuteInEditor

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

Returns

Type

Description

IReadOnlyList<Type>The list of filtered systems