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 | |
| ChildId | The Id of the added / removed child entity |
| ChildIndex | The child position of the added / removed child entity in the parent Entity. |
| EntityId | The Id of the Entity that emitted the event. |
| Store | The EntityStore containing the Entity that emitted the event. |
| Properties | |
|---|---|
| Child | The added / removed child entity |
| Entity | The Entity that emitted the event - aka the publisher |
| Methods | |
|---|---|
| ToString() |