中文 | English
RocketDriver Pro is a game framework for Unity engine
The event adopts the “monitoring-capture” mechanism, which supports the settings of the number of captures and capture priority during monitoring.
The AddEventListener
series of functions in the interface IEventListener are used to add event listeners.
The logic implementation has been completed in the implementation class EventDispathver.
The RemoveEventListener
series of functions in the interface IEventListener are used to remove event listeners.
The logic implementation has been completed in the implementation class EventDispathver.
The DispatchEvent
series of functions in the interface IEventDispatcher are used to distribute events.
The logic implementation has been completed in the implementation class EventDispathver.
The functions declared in the interface IThreadEventProxy define the multithreading support specification.
The logic implementation has been completed in the implementation class ThreadEventDispatcher.
Extends EventDispathver or ThreadEventDispatcher and implements a custom interface that can be used to extend event behavior.
JLGames/RocketDriver/Samples/Event