ドキュメント

Unity Engine

Download Unity

Unity Engine

EntityExists(Entity)

Reports whether the specified entity exists. Does not consider whether a TransformRef exists on the given entity.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public bool EntityExists(Entity entity)

Parameters

entity

The referenced entity.

Returns

Type

Description

boolTrue if the entity exists, regardless of whether this entity has a TransformRef.

Remarks

Additional Resources: TransformLookup.TryGetTransform