44 lines
1.2 KiB
JavaScript
44 lines
1.2 KiB
JavaScript
System.register(["cc"], function (_export, _context) {
|
|
"use strict";
|
|
|
|
var _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, Component, director, _dec, _class, _crd, ccclass, property, NewComponent;
|
|
|
|
return {
|
|
setters: [function (_cc) {
|
|
_cclegacy = _cc.cclegacy;
|
|
__checkObsolete__ = _cc.__checkObsolete__;
|
|
__checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
|
|
_decorator = _cc._decorator;
|
|
Component = _cc.Component;
|
|
director = _cc.director;
|
|
}],
|
|
execute: function () {
|
|
_crd = true;
|
|
|
|
_cclegacy._RF.push({}, "f1ef2cIlPRMf7DqznSUmC33", "NewComponent", undefined);
|
|
|
|
__checkObsolete__(['_decorator', 'Component', 'Node', 'director']);
|
|
|
|
({
|
|
ccclass,
|
|
property
|
|
} = _decorator);
|
|
|
|
_export("NewComponent", NewComponent = (_dec = ccclass('NewComponent'), _dec(_class = class NewComponent extends Component {
|
|
start() {}
|
|
|
|
change() {
|
|
director.loadScene('MAIN');
|
|
}
|
|
|
|
update(deltaTime) {}
|
|
|
|
}) || _class));
|
|
|
|
_cclegacy._RF.pop();
|
|
|
|
_crd = false;
|
|
}
|
|
};
|
|
});
|
|
//# sourceMappingURL=1797c13f70207ddb27ff1a6446e8d9653e661778.js.map
|