react-unity-webgl
Advanced tools
Comparing version 8.6.2 to 8.7.0
@@ -71,2 +71,8 @@ "use strict"; | ||
_a.trys.push([1, 3, , 4]); | ||
// It is possible for the application being rendered server side. In | ||
// this scenario, the window is not available. We can't create the | ||
// Unity Instance in this case. | ||
if (window === undefined) { | ||
return [2 /*return*/]; | ||
} | ||
return [4 /*yield*/, window.createUnityInstance(htmlCanvasElement, unityInstanceParameters, setProgression)]; | ||
@@ -73,0 +79,0 @@ case 2: |
{ | ||
"name": "react-unity-webgl", | ||
"version": "8.6.2", | ||
"version": "8.7.0", | ||
"description": "React Unity WebGL provides an easy solution for embedding Unity WebGL builds in your React application, with two-way communication between your React and Unity application with advanced API's.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1217
133561
57