30 if (oldValue != newValue) {
virtual void onSetEnabled(bool oldValue, bool newValue)
Component(IComponentSystem *system, Entity *entity)
virtual void setEnabled(bool value)
IComponentSystem * system() const
ECS entity — a GraphNode that hosts components defining its behavior.