react-unity-webgl
Advanced tools
Comparing version 8.0.0 to 8.0.1
{ | ||
"name": "react-unity-webgl", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"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 @@ "main": "./distribution/exports.js", |
@@ -38,8 +38,11 @@ <div align="center"> | ||
```sh | ||
$ npm install react-unity-webgl # For Unity 2020 | ||
$ npm install react-unity-webgl@7.x # For Unity 2018 and 2019 (LTS) | ||
$ npm install react-unity-webgl@6.x # For Unity 2017 (LTS) | ||
$ npm install react-unity-webgl@5.x # For Unity 5.6 (LTS) | ||
$ npm install react-unity-webgl | ||
``` | ||
```sh | ||
$ npm install react-unity-webgl@7.x # For Unity 2018 and 2019 (LTS) | ||
$ npm install react-unity-webgl@6.x # For Unity 2017 (LTS) | ||
$ npm install react-unity-webgl@5.x # For Unity 5.6 (LTS) | ||
``` | ||
# Usage | ||
@@ -53,3 +56,3 @@ | ||
const unityContext = new unityContext({ | ||
const unityContext = new UnityContext({ | ||
loaderUrl: "build/myunityapp.loader.js", | ||
@@ -56,0 +59,0 @@ dataUrl: "build/myunityapp.data", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
73
0
80431