ドキュメント

Unity Engine

Download Unity

Unity Engine

GetComponentCount(Entity)

Gets the number of component types associated with an entity.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

Parameters

entity

The entity.

Returns

Type

Description

intThe number of components.