public InvokeHandler ( Api id, byte data ) : bool | ||
id | Api | |
data | byte | |
return | bool |
// Update is called once per frame void Update() { while (MsgQueueCount() > 0) { Msg msg = PopMsg(); dispatcher.InvokeHandler(msg.id, msg.data); } }
// Update is called once per frame void Update() { while (MsgQueueCount() > 0) { Msg msg = PopMsg(); dispatcher.InvokeHandler(msg.id, msg.data); } }