文档

Unity Engine

Unity Engine

GetSingletonEntity()

Attempts to retrieve the single entity that this query matches.
阅读时间1 分钟最后更新于 19 天前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public Entity GetSingletonEntity()

Returns

Type

Description

EntityThe only entity matching this query.