SetComponentCommand

View source

ExtendsCommand

Sets one component value, or one value inside an existing component.

An empty path replaces the component. Non-empty paths update the existing component in place before re-inserting it so the world’s component hooks still observe the change.

Constructor


Properties


Methods


execute(world: World): void

View source

Parameters

NameDescriptionDefault
world——