Documentation

Unity Engine


Unity Engine


AddComponents(Entity, in ComponentTypeSet)

Obsolete. Use EntityManager.AddComponent instead.
Read time 1 minuteLast updated 3 days ago

Definition

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

AddComponents(Entity, ComponentTypeSet)

Warning
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.