ドキュメント

Unity Engine

Download Unity

Unity Engine

GetSingletonEntity<T>()

Gets the Entity instance for a singleton.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
注意
Deprecated. Use SystemAPI.GetSingletonEntity instead (RemovedAfter Entities 1.0)
public Entity GetSingletonEntity<T>()

Returns

Type

Description

EntityThe entity associated with the specified singleton component.

Remarks

Additional Resources: EntityQuery.GetSingletonEntity