HasSingleton<T>()
Checks whether a singleton component of the specified type exists.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public bool HasSingleton<T>()
Returns
Type | Description |
|---|---|
| bool | True, if a singleton of the specified type exists in the current ComponentSystemBase.World. |