Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

abengine

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abengine - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

6

JS/ab3d.js

@@ -51,3 +51,3 @@

unityInstance.parentNode = parentNode;
AB3D.interface = new Interface(unityInstance, db, param.succeed);
AB3D.interface = new Interface(unityInstance, db,param.host, param.succeed);
unityInstance.Invoke = function (prama, register) {

@@ -99,3 +99,3 @@ if (register) {

unityInstance.parentNode = parentNode;
AB3D.interface = new Interface(unityInstance, db, param.succeed);
AB3D.interface = new Interface(unityInstance, db, param.host, param.succeed);
unityInstance.Invoke = function (prama, register) {

@@ -145,3 +145,3 @@ if (register) {

var db = new IndexDBCache();
AB3D.interface = new Interface(unityInstance, db, param.succeed);
AB3D.interface = new Interface(unityInstance, db,param.host, param.succeed);
unityInstance.Invoke = function (prama, register) {

@@ -148,0 +148,0 @@ if (register) {

@@ -20,3 +20,3 @@ import Load from "./Module/Load.js";

decorate;//装饰模块
constructor(unityInstance, db, callback) {
constructor(unityInstance, db,host, callback) {
let that = this;

@@ -26,2 +26,6 @@ that.event = Event;

that.decorate = new Decorate(unityInstance);
var param = {
host:host
}
unityInstance.SendMessage("Interface", "Init", JSON.stringify(param))
Event.addEvent(100001, (backstr) => {

@@ -28,0 +32,0 @@ console.log(backstr);

@@ -50,3 +50,3 @@ /**

}]
this.#unityInstance.Untie(re)
this.#unityInstance.Register(re)
}

@@ -159,3 +159,14 @@ /**

}
/**
* 改变控制器
*/
ChangingControl(mode) {
var unityParam = {
moduleName: "ElementModule",
methodName: "ChangingControl",
Parameter:mode
}
this.#unityInstance.Invoke(unityParam);
}
}
export default Decorate;
{
"name": "abengine",
"version": "1.0.5",
"version": "1.0.6",
"description": "引入 npm i ABengine",

@@ -5,0 +5,0 @@ "main": "ab3d.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc