EventRecorder.md
February 25, 2024 · View on GitHub
Friflo.Engine.ECS
Friflo.Engine.ECS
EventRecorder Class
Used to record events of structural changes like add/remove component/tag.
The recorder is required to filter these events using an EventFilter.
public sealed class EventRecorder
Inheritance System.Object 🡒 EventRecorder
| Properties | |
|---|---|
| AllEventsCount | Return the number of all recorded events. Calling ClearEvents() does not affect the counter. |
| ComponentEvents | The list of all recorded component events. |
| Enabled | Record component / tag events if true. It is required when using an EventFilter. |
| TagEvents | The list of all recorded tag events. |
| Methods | |
|---|---|
| ClearEvents() | Clear all ComponentEvents and TagEvents. |
| ToString() |