add_components
Attach custom components like audio, camera, collision, or light to a specified entity in PlayCanvas Editor to enhance its functionality and behavior in real-time 3D applications.
Instructions
Add components to an entity
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| components | Yes | A dictionary that contains the components of the entity and their data. | |
| id | Yes | An entity ID. |