| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- System.register(["__unresolved_0", "cc", "__unresolved_1", "__unresolved_2"], function (_export, _context) {
- "use strict";
- var _reporterNs, _cclegacy, __checkObsolete__, __checkObsoleteInNamespace__, _decorator, ecs, CCComp, Label, _dec, _dec2, _class, _crd, ccclass, property, DemoViewComp;
- function _reportPossibleCrUseOfecs(extras) {
- _reporterNs.report("ecs", "../../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS", _context.meta, extras);
- }
- function _reportPossibleCrUseOfCCComp(extras) {
- _reporterNs.report("CCComp", "../../../../../extensions/oops-plugin-framework/assets/module/common/CCComp", _context.meta, extras);
- }
- return {
- setters: [function (_unresolved_) {
- _reporterNs = _unresolved_;
- }, function (_cc) {
- _cclegacy = _cc.cclegacy;
- __checkObsolete__ = _cc.__checkObsolete__;
- __checkObsoleteInNamespace__ = _cc.__checkObsoleteInNamespace__;
- _decorator = _cc._decorator;
- Label = _cc.Label;
- }, function (_unresolved_2) {
- ecs = _unresolved_2.ecs;
- }, function (_unresolved_3) {
- CCComp = _unresolved_3.CCComp;
- }],
- execute: function () {
- _crd = true;
- _cclegacy._RF.push({}, "78b5dVjj81IxoHGx2PAK8bT", "DemoViewComp", undefined);
- /*
- * @Author: mojunshou 1637302775@qq.com
- * @Date: 2025-02-26 17:11:55
- * @LastEditors: mojunshou 1637302775@qq.com
- * @LastEditTime: 2025-02-27 16:29:40
- * @FilePath: \Cocos_android\assets\script\game\account\view\DemoViewComp.ts
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
- */
- __checkObsolete__(['_decorator']);
- __checkObsolete__(['Label']);
- ({
- ccclass,
- property
- } = _decorator);
- /** 视图层对象 */
- _export("DemoViewComp", DemoViewComp = (_dec = ccclass('DemoViewComp'), _dec2 = (_crd && ecs === void 0 ? (_reportPossibleCrUseOfecs({
- error: Error()
- }), ecs) : ecs).register('DemoView', false), _dec(_class = _dec2(_class = class DemoViewComp extends (_crd && CCComp === void 0 ? (_reportPossibleCrUseOfCCComp({
- error: Error()
- }), CCComp) : CCComp) {
- start() {
- var _this$node$getChildBy;
- const text = (_this$node$getChildBy = this.node.getChildByName("textLb")) == null ? void 0 : _this$node$getChildBy.getComponent(Label);
- if (text) {
- text.string = "这是开始游戏的场景";
- }
- }
- reset() {
- this.node.destroy();
- }
- }) || _class) || _class));
- _cclegacy._RF.pop();
- _crd = false;
- }
- };
- });
- //# sourceMappingURL=85fd69e1a920288617adf1b8791df9dbe36d4a4c.js.map
|