PICO Spatial SDK
Toggle table of contents
0.10.7
◐
Skip to content
PICO Spatial SDK
core
/
com.pico.spatial.core.ecs.event
/
EventSubscriber
Event
Subscriber
fun
interface
EventSubscriber
<
T
:
Event
>
A function that subscribes to an event.
Parameters
T
The type of the event.
Members
Functions
on
Event
Link copied to clipboard
abstract
fun
onEvent
(
event
:
T
)
Called when an event is received.