Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #180 from caseyyee/double-message-fix
Browse files Browse the repository at this point in the history
removes duplicate handling of Unity loading
  • Loading branch information
delapuente authored Mar 1, 2018
2 parents 094b79d + f34a88a commit 6ec6542
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Assets/WebGLTemplates/WebVR/webvr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6ec6542

Please sign in to comment.