react-unity-webgl
Advanced tools
Comparing version 9.1.0 to 9.2.0
@@ -215,2 +215,3 @@ "use strict"; | ||
isLoaded: isLoaded, | ||
UNSAFE__unityInstance: unityInstance, | ||
requestFullscreen: requestFullscreen, | ||
@@ -217,0 +218,0 @@ requestPointerLock: requestPointerLock, |
@@ -28,2 +28,14 @@ import { IUnityProvider } from "../interfaces/unity-provider"; | ||
/** | ||
* A reference to the internal Unity Instance. This Unity Instance is the | ||
* object that is exposed by the Unity Loader is meant to be used only | ||
* internally by the module. In the event that you need to access the Unity | ||
* Instance when for example using a third-party library, that requires access | ||
* to the Unity Instance, you can use this variable. | ||
* | ||
* Warning! Please make sure that any changes made to, or events bound to the | ||
* Unity Instance are not reflected inside of the module. This could lead to | ||
* unexpected behaviour. | ||
*/ | ||
readonly UNSAFE__unityInstance: UnityInstance | null; | ||
/** | ||
* Enables or disabled the Fullscreen mode of the Unity Instance. | ||
@@ -30,0 +42,0 @@ * @param enabled Defines whether Unity should be in fullscreen. |
{ | ||
"name": "react-unity-webgl", | ||
"version": "9.1.0", | ||
"version": "9.2.0", | ||
"description": "React Unity WebGL provides a modern solution for embedding Unity WebGL builds in your React Application while providing advanced APIs for two way communication and interaction between Unity and React.", | ||
@@ -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
87271
1502