ドキュメント

Unity Engine

Download Unity

Unity Engine

Exists

Checks whether an entity exists in any world.
読み終わるまでの所要時間 1 分最終更新 9日前

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule

Exists(Entity)

Checks whether an entity exists in any world.
public static bool Exists(Entity entity)

Parameters

entity

The entity.

Returns

Type

Description

boolTrue if the entity exists.

Exists(WorldUnmanaged, Entity)

Checks whether an entity exists in the given world.
public static bool Exists(WorldUnmanaged world, Entity entity)

Parameters

The world to look in.

entity

The entity.

Returns

Type

Description

boolTrue if the entity exists in
world
.