Comparing version 1.0.10 to 1.0.11
@@ -72,9 +72,8 @@ /** | ||
*/ | ||
Complete(callback, pr) { | ||
Complete(param) { | ||
var unityParam = { | ||
moduleName: "ElementModule", | ||
methodName: "Complete", | ||
Parameter: param.text, | ||
} | ||
if (pr) unityParam.Parameter = pr; | ||
let re = [{ | ||
@@ -84,4 +83,10 @@ code: 103002, | ||
this.#unityInstance.Untie(re); | ||
if (callback) callback(back); | ||
if (param.succeedCallback) param.succeedCallback(back); | ||
} | ||
}, { | ||
code: 103003, | ||
callBack: (back) => { | ||
this.#unityInstance.Untie(re); | ||
if (param.failCallback) param.failCallback(back); | ||
} | ||
}] | ||
@@ -88,0 +93,0 @@ this.#unityInstance.Invoke(unityParam, re); |
{ | ||
"name": "abengine", | ||
"version": "1.0.10", | ||
"version": "1.0.11", | ||
"description": "引入 npm i ABengine", | ||
@@ -5,0 +5,0 @@ "main": "ab3d.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125800
723