removeComponentsExcept
removeComponentsExcept(ecd, entity, whitelist)
Remove all components from an entity except the specified whitelist
Kind: global function
Param | Type |
---|---|
ecd | EntityComponentDataset |
entity | number |
whitelist | Array |
Remove all components from an entity except the specified whitelist
Kind: global function
Param | Type |
---|---|
ecd | EntityComponentDataset |
entity | number |
whitelist | Array |