onEntityComponentRemoved

System::onEntityComponentRemoved

Callback called when an Entity loses a Component tracked by this system.

Declaration

virtual void onEntityComponentRemoved(Entity entity, Component componentID);

Parameters

Name

Type

Description

entity

Entity

The Entity that lost the Component.

componentID

Component

The lost Component’s identifier.

Returns

None.

Notes

This function is meant to be overloaded by the System and is called when an Entity loses a Component tracked by this system.