ドキュメント

Unity Engine

Download Unity

Unity Engine

AddComponents(Entity, in ComponentTypeSet)

Obsolete. Use EntityManager.AddComponent instead.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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

AddComponents(Entity, ComponentTypeSet)

注意
Deprecated. AddComponents() has been renamed to AddComponent(). AddComponents() will be removed in a future package release.
public void AddComponents(Entity entity, in ComponentTypeSet componentTypeSet)

Parameters

entity

The entity to modify.

componentTypeSet

The types of components to add.