Concord icon indicating copy to clipboard operation
Concord copied to clipboard

Component:removed callback for Component clean-up

Open pablomayobre opened this issue 4 years ago • 0 comments

This callback helps you clean-up the data stored inside a component the moment you remove it.

This is useful because by the time Pool:onEntityRemoved is called, the Component has already been removed and can't be cleaned up.

We may need to call this callback if Entity:give is called and the Component already exists in the Entity

pablomayobre avatar Jan 06 '21 21:01 pablomayobre