Readonly
pathFlag for fast type checking.
Reset the event to default values. Used by the event system.
A reference to this event.
Set the current target of the event. Used by the event system.
A reference to this event.
Set the event phase of the event. Used by the event system.
A reference to this event.
Set the target of the event. Used by the event system.
A reference to this event.
Static
[hasStatic
dumpStatic
dumpStatic
getFetches an event of the requested type and initialization from the depot. If the depot for the requested type is empty it returns a new instance. Use RecyclableEvent.store after dispatching the event to store it for reuse.
Static
storeStores the event in the depot for later reuse.
A subclass of Event that can be (re)used via RecyclableEvent.get and RecyclableEvent.store to avoid garbage collection. If dispatched repeatedly without recycling through get/store, call recycle manually before each dispatch. Exposes some readonly properties of the event class as writable properties for the event system.
Example get/store:
Example manual recycle:
Author
Jonas Plotzky, HFU, 2025