window.SendMessageToWeb = (message) => {
	if (window.webkit && window.webkit.messageHandlers && window.webkit.messageHandlers.XenseAR) {
		window.webkit.messageHandlers.XenseAR.postMessage(message);
	}
}

window.ReceiveMessageFromWeb = (message) => {
	if (window.unityInstance) {
		window.unityInstance.sendMessage("CBLP.VPSService.JavascriptMessageHandler", "ReceiveMessageWebGL", message);
	}
}