In-game tools · function
addComponentCommand
Explained in In-game tools.
function addComponentCommand(world: InspectableWorld, entities: readonly number[], component: string): Command | nullimport { addComponentCommand } from '@driftengine/tools';Parameters
| Parameter | Type | Description |
|---|---|---|
world | InspectableWorld | |
entities | readonly number[] | |
component | string |