Game Development Reference
In-Depth Information
Sending events
Once we've created an event, we're ready to send the event off to the sandbox. As all ob-
jects are owned by the sandbox instance, the responsibility for dispatching events is
handled internally by the sandbox itself. When sending an event, an additional event type
string is required to help receivers specify how they should interpret the event data:
Sandbox.AddEvent(sandbox, eventType, event);
Search WWH ::




Custom Search