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
EntityIdThe Id of the Entity that emitted the event.
OldTagsThe old state of the EntityTags before the change.
StoreThe EntityStore containing the Entity that emitted the event.
TagsThe new state of the EntityTags.
Properties
AddedTagsThe Tags added to the Entity.
ChangedTagsThe changed (removed / added) entity Tags.
EntityThe Entity that emitted the event - aka the publisher.
RemovedTagsThe Tags removed from the Entity.
Methods
ToString()