"use strict"; //FYI: https://github.com/Tencent/puerts/blob/master/doc/unity/manual.md Object.defineProperty(exports, "__esModule", { value: true }); exports.config = exports.onDestroy = void 0; const Config_1 = require("./Config"); const MenuExtension_1 = require("./MenuExtension"); const FairyEditor = CS.FairyEditor; const App = FairyEditor.App; App.pluginManager.LoadUIPackage(App.pluginManager.basePath + "/" + eval("__dirname") + '/Extend'); App.pluginManager.LoadUIPackage(App.pluginManager.basePath + "/" + eval("__dirname") + '/Basic'); const menuExt = new MenuExtension_1.default(); menuExt.start(); const config = Config_1.default.load(); exports.config = config; App.consoleView.Log(`Config psd2fguiPluginsPath:${config.psd2fguiPluginsPath} dependencyManifestPath:${config.dependencyManifestPath}`); // console.log('hello world'); function onDestroy() { //do cleanup here menuExt.onDestroy(); } exports.onDestroy = onDestroy;