🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

unity-webgl

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

unity-webgl - npm Package Compare versions

Comparing version

to
2.0.6

2

package.json

@@ -11,3 +11,3 @@ {

],
"version": "2.0.5",
"version": "2.0.6",
"main": "dist/UnityWebgl.min.js",

@@ -14,0 +14,0 @@ "module": "dist/UnityWebgl.esm.js",

@@ -18,3 +18,3 @@ import EventSystem from './Events.js'

if (typeof window.createUnityInstance === 'function') {
console.warn('UnityWebgl: Unity Loader already exists')
// console.warn('UnityWebgl: Unity Loader already exists')
resolve && resolve()

@@ -172,11 +172,11 @@ }

).then(unity => {
ctx.emit('created')
ctx.unityInstance = unity
ctx.unityInstance = unity
ctx.emit('created', unity)
}).catch(err => {
ctx.unityInstance = null
ctx.emit('error', err)
ctx.unityInstance = null
})
} catch (err) {
ctx.unityInstance = null
ctx.emit('error', err)
ctx.unityInstance = null
}

@@ -183,0 +183,0 @@ },