sendEvent
Send an event to Unity
Parameters
Name | Type | Description |
---|---|---|
event | string | Event name (see all events in Events to unity section) |
data | object | (optional) JSON that contains data to send to unity |
callback | Function | (optional) function to call after |
Example
FnoMapManager.sendEvent('zoomIn', {zoomValue: 0.1});