ChildEntitiesChanged.md

February 25, 2024 ยท View on GitHub

Friflo.Engine.ECS

Friflo.Engine.ECS

ChildEntitiesChanged Struct

Is the event for event handlers added to OnChildEntitiesChanged or OnChildEntitiesChanged.

public readonly struct ChildEntitiesChanged

Remarks

These events are fired on:

Fields
Action
ChildIdThe Id of the added / removed child entity
ChildIndexThe child position of the added / removed child entity in the parent Entity.
EntityIdThe Id of the Entity that emitted the event.
StoreThe EntityStore containing the Entity that emitted the event.
Properties
ChildThe added / removed child entity
EntityThe Entity that emitted the event - aka the publisher
Methods
ToString()