From f34a88afc285f696bc9c19a8b3b55c5090ad7918 Mon Sep 17 00:00:00 2001 From: caseyyee Date: Wed, 28 Feb 2018 17:45:53 -0800 Subject: [PATCH] removes duplicate handling of Unity loading --- Assets/WebGLTemplates/WebVR/webvr.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Assets/WebGLTemplates/WebVR/webvr.js b/Assets/WebGLTemplates/WebVR/webvr.js index 51d8a66..de19503 100644 --- a/Assets/WebGLTemplates/WebVR/webvr.js +++ b/Assets/WebGLTemplates/WebVR/webvr.js @@ -44,11 +44,6 @@ } function onUnity (msg) { - if (msg.detail === 'Ready') { - getVRDisplay(); - return; - } - // Measure Round-Trip Time from Unity. if (msg.detail === 'Timer') { var delta = window.performance.now() - testTimeStart;