NBC修改

This commit is contained in:
bob
2025-07-03 14:16:18 +08:00
parent 4febfadd56
commit 800e96aac7
2083 changed files with 60081 additions and 2942 deletions

View File

@@ -1,7 +1,8 @@
"use strict";
// //FYI: https://github.com/Tencent/puerts/blob/master/doc/unity/manual.md
Object.defineProperty(exports, "__esModule", { value: true });
exports.onDestroy = exports.onPublish = void 0;
exports.onPublish = onPublish;
exports.onDestroy = onDestroy;
var FairyEditor = CS.FairyEditor;
var System = CS.System;
// import { genCode } from './GenCode_CSharp';
@@ -22,7 +23,6 @@ function onPublish(handler) {
console.log('Handling gen code in plugin 1');
(0, GenCode_CSharp_1.genCSCode)(handler);
}
exports.onPublish = onPublish;
var callBack = context => {
GenCodeSettings_1.default.packageItemChange(context);
};
@@ -33,4 +33,3 @@ function onDestroy() {
//console.error("坑爹的ts没法注销事件刷新后请重启fgui")
//App.Off(FairyEditor.EditorEvents.PackageItemChanged, callBack)
}
exports.onDestroy = onDestroy;