ecs icon indicating copy to clipboard operation
ecs copied to clipboard

How to setComponents no macro

Open rayloi777 opened this issue 1 year ago • 2 comments

var entity = ecs.createEntity(); ecs.components.set(entity, entity.id(), new Position(10, 20));

Not work

rayloi777 avatar Mar 21 '23 09:03 rayloi777

ecs.setComponents(entity, new Position(10, 20));

MSGhero avatar Mar 21 '23 22:03 MSGhero

Cool! Thanks

rayloi777 avatar Mar 22 '23 08:03 rayloi777