TagsChanged.md
February 25, 2024 ยท View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS
TagsChanged Struct
Is the event for event handlers added to OnTagsChanged or OnTagsChanged.
public readonly struct TagsChanged
Remarks
These events are fired on:
| Fields | |
|---|---|
| EntityId | The Id of the Entity that emitted the event. |
| OldTags | The old state of the EntityTags before the change. |
| Store | The EntityStore containing the Entity that emitted the event. |
| Tags | The new state of the EntityTags. |
| Properties | |
|---|---|
| AddedTags | The Tags added to the Entity. |
| ChangedTags | The changed (removed / added) entity Tags. |
| Entity | The Entity that emitted the event - aka the publisher. |
| RemovedTags | The Tags removed from the Entity. |
| Methods | |
|---|---|
| ToString() |