TransformChildrenChangedTopic

Namespace CREAT3D.ECS.DataModel.EventSystems.Topics
Payload ValueMessage<IEntity, bool>
Broadcaster ITransformComponent

This topic is broadcast from the TransformComponent of an Entity whenever the transform loses or gains a child Entity. Child loss can either happen by manual removal or child destruction. The payload contains two values; the child Entity that was modified and a boolean value that signals whether the child Entity was added (true) or removed (false). Child addition and removal is meant to be achieved by modifying the child's Parent value, rather than manipulating the parent's Children collection.