NBC修改
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user