unity-webgl
Advanced tools
Comparing version
@@ -294,3 +294,3 @@ type CanvasElement = HTMLCanvasElement | string; | ||
*/ | ||
reload(config: IUnityConfig): void; | ||
reload(config?: IUnityConfig): void; | ||
/** | ||
@@ -297,0 +297,0 @@ * Sends a message to the UnityInstance to invoke a public method. |
/*! | ||
* unity-webgl.js v3.5.0 | ||
* unity-webgl.js v3.5.1 | ||
* (c) 2023 Mervin<mengqing723@gmail.com> | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* unity-webgl.js v3.5.0 | ||
* unity-webgl.js v3.5.1 | ||
* (c) 2023 Mervin<mengqing723@gmail.com> | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* unity-webgl.js v3.5.0 | ||
* unity-webgl.js v3.5.1 | ||
* (c) 2023 Mervin<mengqing723@gmail.com> | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
{ | ||
"name": "unity-webgl", | ||
"version": "3.5.0", | ||
"version": "3.5.1", | ||
"description": "Unity-Webgl provides an easy solution for embedding Unity WebGL builds in your webApp or Vue.js project, with two-way communication between your webApp and Unity application with advanced API's.", | ||
@@ -39,5 +39,9 @@ "main": "dist/index.js", | ||
"webGL", | ||
"unity3d", | ||
"unity3d webgl", | ||
"unity player", | ||
"unity3d player", | ||
"vue unity", | ||
"vue unity webgl" | ||
"vue unity webgl", | ||
"vue unity player" | ||
], | ||
@@ -44,0 +48,0 @@ "homepage": "https://github.com/Meqn/UnityWebGL.js", |
@@ -46,2 +46,3 @@ # unity-webgl | ||
### html | ||
<details> | ||
@@ -337,3 +338,4 @@ <summary>html demo</summary> | ||
showDialog: function (str) { | ||
var data = Pointer_stringify(str); | ||
// var data = Pointer_stringify(str); | ||
var data = UTF8ToString(str); // In Unity 2021.2 onwards | ||
// '__UnityLib__' is a global function collection. | ||
@@ -340,0 +342,0 @@ __UnityLib__.showDialog(data); |
@@ -50,2 +50,3 @@ # unity-webgl | ||
### html | ||
<details> | ||
@@ -347,3 +348,4 @@ <summary>html demo</summary> | ||
showDialog: function (str) { | ||
var data = Pointer_stringify(str); | ||
// var data = Pointer_stringify(str); | ||
var data = UTF8ToString(str); | ||
// '__UnityLib__' is a global function collection. | ||
@@ -350,0 +352,0 @@ __UnityLib__.showDialog(data); |
@@ -13,6 +13,3 @@ { | ||
}, | ||
"devDependencies": { | ||
"@vue/composition-api": "^1.7.0", | ||
"vue": "^3.2.38" | ||
}, | ||
"devDependencies": {}, | ||
"dependencies": { | ||
@@ -19,0 +16,0 @@ "vue-demi": "latest", |
Sorry, the diff of this file is not supported yet
101604
0.14%437
0.46%