GetSingletonEntity<T>()
Gets the Entity instance for a singleton.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.Entities
- Assembly: UnityEngine.EntitiesModule
public Entity GetSingletonEntity<T>()
Returns
Type | Description |
|---|---|
| Entity | The entity associated with the specified singleton component. |
Remarks
Additional Resources: EntityQuery.GetSingletonEntity