Method AddComponents
AddComponents(Entity, in ComponentTypeSet)
Obsolete. Use AddComponent(Entity, ComponentType) instead.
Declaration
[Obsolete("AddComponents() has been renamed to AddComponent(). AddComponents() will be removed in a future package release.", false)]
public void AddComponents(Entity entity, in ComponentTypeSet componentTypeSet)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The entity to modify. |
ComponentTypeSet | componentTypeSet | The types of components to add. |