EventReader
此内容尚不支持你的语言。
EventReader<
T>(event):EventReaderDescriptor<T>
Defined in: ecs/event.ts:206
Ask a system for receive access to an event. Each declaring system keeps its own cursor, so two readers both see every event rather than consuming it from each other.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”EventDef<T>