This commit is contained in:
szrpf 2023-05-27 22:24:58 +08:00
parent 547cdbb04c
commit fb4107af45
19 changed files with 471 additions and 428 deletions

View File

@ -411,12 +411,12 @@
"ctor": "Float64Array",
"array": [
0,
50,
0,
0,
0,
0.6427876096865393,
0.766044443118978,
0,
0,
1,
1,
1,
1
@ -426,7 +426,7 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 80
"z": 0
},
"_skewX": 0,
"_skewY": 0,
@ -532,7 +532,7 @@
{
"__type__": "cc.Node",
"_name": "DataBoard",
"_objFlags": 1536,
"_objFlags": 512,
"_parent": {
"__id__": 8
},
@ -598,7 +598,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b8IxWUbGBN4ZAK2hGc0mte"
"_id": "85BlQuDb9HZKuhEJxwyGF+"
},
{
"__type__": "cc.Node",
@ -660,7 +660,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c7vtJRZAJCQ4T0beA4GE98"
"_id": "49+qljSBFDb61/iC62OrLE"
},
{
"__type__": "cc.Sprite",
@ -690,7 +690,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c6k8j1YNNLH6iOBrpdN3kJ"
"_id": "6axJdFuntK570hv44oHwcH"
},
{
"__type__": "cc.Node",
@ -734,8 +734,8 @@
0,
0,
0,
-0.6427876096865393,
0.766044443118978,
0,
1,
1,
1,
1
@ -745,14 +745,14 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -80
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9aN+10CXdOSY8LkytqGrCE"
"_id": "66fiagvGZM17jxJS3e3R/O"
},
{
"__type__": "cc.Sprite",
@ -782,7 +782,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "66/N4fj+xMs5LA1EZkAegh"
"_id": "e7StEP5C5EIY76/7RYAGaS"
},
{
"__type__": "cc.Node",
@ -844,7 +844,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "97SVMRHiZESKvhs6O6T+F6"
"_id": "67uLDk0kNPMLrmc4a+2Lcz"
},
{
"__type__": "cc.Sprite",
@ -874,7 +874,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0dYOQeFA1EubrzVCvgNCHr"
"_id": "19kjTk6vxDsqYAK8l1jO+n"
},
{
"__type__": "cc.Node",
@ -904,8 +904,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 651,
"height": 462.72
"width": 618.97,
"height": 390.72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -917,12 +917,12 @@
"ctor": "Float64Array",
"array": [
0,
150,
0,
0,
0,
0,
-0.6427876096865393,
0.766044443118978,
1,
1,
1,
1
@ -932,14 +932,14 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -80
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "abSX/4O+BGeKHeujiB3wJM"
"_id": "930hpjvLBPHbYO0z9MngLs"
},
{
"__type__": "cc.Label",
@ -956,8 +956,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "坐标:\t0.0,\t50.0\n角度:\t80.0°,\t弧度:\t0.4π\n世界坐标:\t540.0,\t1010.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n小刀\n5.0",
"_N$string": "坐标:\t0.0,\t50.0\n角度:\t80.0°,\t弧度:\t0.4π\n世界坐标:\t540.0,\t1010.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n小刀\n5.0",
"_string": "坐标:\t0.0,\t0.0\n角度:\t0.0°,\t弧度:\t0.0π\n世界坐标:\t540.0,\t960.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n5.0",
"_N$string": "坐标:\t0.0,\t0.0\n角度:\t0.0°,\t弧度:\t0.0π\n世界坐标:\t540.0,\t960.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n5.0",
"_fontSize": 60,
"_lineHeight": 72,
"_enableWrapText": true,
@ -972,7 +972,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "13p4urwflHk7m1T9Vqj5+5"
"_id": "357EdNN/VPTaPJCzr51Jj0"
},
{
"__type__": "cc.LabelOutline",
@ -990,7 +990,7 @@
"a": 255
},
"_width": 6,
"_id": "f9RKPbYmBJLqgnT16oJjtk"
"_id": "b4ov1ei1RJaZNO5PGzLCHc"
},
{
"__type__": "9285eM4YhBJhL8+C569X294",
@ -1030,11 +1030,11 @@
"_collideBoxOpacity": 100,
"_isCustomLabelActive": true,
"customComponentName": "Hero",
"_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.sword\n#equip.shoe.attr.speed",
"_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.shoe.attr.speed",
"_customLabelOffset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"y": 150
},
"_customLabelColor": {
"__type__": "cc.Color",
@ -1075,7 +1075,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 713,
"width": 714.85,
"height": 268.8
},
"_anchorPoint": {

View File

@ -96,7 +96,7 @@ export default class DataBoard extends cc.Component {
private set customLabelString(value: string) {
this._customLabelString = value;
this.customLabelStringSplit = value
.replace(/,/g, '_~_').replace(/:/g, '_!_').replace(/ /g, '_@_')
.replace(/,|/g, '_~_').replace(/:|/g, '_!_').replace(/ |\t/g, '_@_')
.replace(/_*\n_*/g, '_\n_').split('_');
}
@property
@ -159,7 +159,7 @@ export default class DataBoard extends cc.Component {
this.boardNode.setParent(this.node);
this.boardNode.x = this.boardNode.y = 0;
this.boardNode.zIndex = cc.macro.MAX_ZINDEX;
this.boardNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy;
// this.boardNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy;
this.boardNode['_objFlags'] |= cc.Object['Flags'].LockedInEditor;
this.outlineBoxNode = new cc.Node('OutlineBox');
@ -235,6 +235,11 @@ export default class DataBoard extends cc.Component {
protected update() {
if (!this.isCustomLabelActive) return;
if (!this.customLabelStringSplit) return;
let radian = -this.node.angle * Math.PI / 180;
let cos = Math.cos(radian);
let sin = Math.sin(radian);
this.customLabelNode.x = this.customLabelOffset.x * cos - this.customLabelOffset.y * sin;
this.customLabelNode.y = this.customLabelOffset.x * sin + this.customLabelOffset.y * cos;
let str = '';
let strs = this.customLabelStringSplit;
if (!this.monitorComp && this.customComponentName) {
@ -296,7 +301,8 @@ export default class DataBoard extends cc.Component {
private parseString(str: string) {
let strs = str.split('.');
let ret = this.monitorComp[strs[0]] || `#${strs[0]}`;
let ret = this.monitorComp[strs[0]];
ret === undefined && (ret = `#${strs[0]}`);
for (let i = 1, len = strs.length; i < len; ++i) {
if (ret[strs[i]] === undefined) {
return `${ret.name ? ret.name : ret}.${strs[i]}`;

View File

@ -154,7 +154,7 @@ var DataBoard = /** @class */ (function (_super) {
set: function (value) {
this._customLabelString = value;
this.customLabelStringSplit = value
.replace(/,/g, '_~_').replace(/:/g, '_!_').replace(/ /g, '_@_')
.replace(/,|/g, '_~_').replace(/:|/g, '_!_').replace(/ |\t/g, '_@_')
.replace(/_*\n_*/g, '_\n_').split('_');
},
enumerable: false,
@ -203,12 +203,12 @@ var DataBoard = /** @class */ (function (_super) {
configurable: true
});
;
DataBoard.prototype.onLoad = function () {
DataBoard.prototype.start = function () {
this.boardNode = this.node.getChildByName('DataBoard');
if (!CC_EDITOR && !window['DATABOARD']) {
this.destroy();
return;
}
this.boardNode = this.node.getChildByName('DataBoard');
if (cc.isValid(this.boardNode)) {
this.boardNode.removeFromParent();
this.boardNode.destroy();
@ -219,7 +219,7 @@ var DataBoard = /** @class */ (function (_super) {
this.boardNode.setParent(this.node);
this.boardNode.x = this.boardNode.y = 0;
this.boardNode.zIndex = cc.macro.MAX_ZINDEX;
this.boardNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy;
// this.boardNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy;
this.boardNode['_objFlags'] |= cc.Object['Flags'].LockedInEditor;
this.outlineBoxNode = new cc.Node('OutlineBox');
this.outlineBoxNode.setParent(this.boardNode);
@ -287,6 +287,11 @@ var DataBoard = /** @class */ (function (_super) {
return;
if (!this.customLabelStringSplit)
return;
var radian = -this.node.angle * Math.PI / 180;
var cos = Math.cos(radian);
var sin = Math.sin(radian);
this.customLabelNode.x = this.customLabelOffset.x * cos - this.customLabelOffset.y * sin;
this.customLabelNode.y = this.customLabelOffset.x * sin + this.customLabelOffset.y * cos;
var str = '';
var strs = this.customLabelStringSplit;
if (!this.monitorComp && this.customComponentName) {
@ -356,7 +361,8 @@ var DataBoard = /** @class */ (function (_super) {
};
DataBoard.prototype.parseString = function (str) {
var strs = str.split('.');
var ret = this.monitorComp[strs[0]] || "#" + strs[0];
var ret = this.monitorComp[strs[0]];
ret === undefined && (ret = "#" + strs[0]);
for (var i = 1, len = strs.length; i < len; ++i) {
if (ret[strs[i]] === undefined) {
return (ret.name ? ret.name : ret) + "." + strs[i];
@ -370,7 +376,6 @@ var DataBoard = /** @class */ (function (_super) {
this.boardNode.removeFromParent();
this.boardNode.destroy();
}
;
this.node.targetOff(this);
};
__decorate([

File diff suppressed because one or more lines are too long

View File

@ -412,12 +412,12 @@
"ctor": "Float64Array",
"array": [
0,
50,
0,
0,
0,
0.6427876096865393,
0.766044443118978,
0,
0,
1,
1,
1,
1
@ -427,7 +427,7 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 80
"z": 0
},
"_skewX": 0,
"_skewY": 0,
@ -533,7 +533,7 @@
{
"__type__": "cc.Node",
"_name": "DataBoard",
"_objFlags": 1536,
"_objFlags": 512,
"_parent": {
"__id__": 8
},
@ -599,7 +599,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b8IxWUbGBN4ZAK2hGc0mte"
"_id": "85BlQuDb9HZKuhEJxwyGF+"
},
{
"__type__": "cc.Node",
@ -661,7 +661,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c7vtJRZAJCQ4T0beA4GE98"
"_id": "49+qljSBFDb61/iC62OrLE"
},
{
"__type__": "cc.Sprite",
@ -691,7 +691,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c6k8j1YNNLH6iOBrpdN3kJ"
"_id": "6axJdFuntK570hv44oHwcH"
},
{
"__type__": "cc.Node",
@ -735,8 +735,8 @@
0,
0,
0,
-0.6427876096865393,
0.766044443118978,
0,
1,
1,
1,
1
@ -746,14 +746,14 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -80
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9aN+10CXdOSY8LkytqGrCE"
"_id": "66fiagvGZM17jxJS3e3R/O"
},
{
"__type__": "cc.Sprite",
@ -783,7 +783,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "66/N4fj+xMs5LA1EZkAegh"
"_id": "e7StEP5C5EIY76/7RYAGaS"
},
{
"__type__": "cc.Node",
@ -845,7 +845,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "97SVMRHiZESKvhs6O6T+F6"
"_id": "67uLDk0kNPMLrmc4a+2Lcz"
},
{
"__type__": "cc.Sprite",
@ -875,7 +875,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0dYOQeFA1EubrzVCvgNCHr"
"_id": "19kjTk6vxDsqYAK8l1jO+n"
},
{
"__type__": "cc.Node",
@ -905,8 +905,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 651,
"height": 462.72
"width": 618.97,
"height": 390.72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -918,12 +918,12 @@
"ctor": "Float64Array",
"array": [
0,
150,
0,
0,
0,
0,
-0.6427876096865393,
0.766044443118978,
1,
1,
1,
1
@ -933,14 +933,14 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -80
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "abSX/4O+BGeKHeujiB3wJM"
"_id": "930hpjvLBPHbYO0z9MngLs"
},
{
"__type__": "cc.Label",
@ -957,8 +957,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "坐标:\t0.0,\t50.0\n角度:\t80.0°,\t弧度:\t0.4π\n世界坐标:\t540.0,\t1010.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n小刀\n5.0",
"_N$string": "坐标:\t0.0,\t50.0\n角度:\t80.0°,\t弧度:\t0.4π\n世界坐标:\t540.0,\t1010.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n小刀\n5.0",
"_string": "坐标:\t0.0,\t0.0\n角度:\t0.0°,\t弧度:\t0.0π\n世界坐标:\t540.0,\t960.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n5.0",
"_N$string": "坐标:\t0.0,\t0.0\n角度:\t0.0°,\t弧度:\t0.0π\n世界坐标:\t540.0,\t960.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n5.0",
"_fontSize": 60,
"_lineHeight": 72,
"_enableWrapText": true,
@ -973,7 +973,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "13p4urwflHk7m1T9Vqj5+5"
"_id": "357EdNN/VPTaPJCzr51Jj0"
},
{
"__type__": "cc.LabelOutline",
@ -991,7 +991,7 @@
"a": 255
},
"_width": 6,
"_id": "f9RKPbYmBJLqgnT16oJjtk"
"_id": "b4ov1ei1RJaZNO5PGzLCHc"
},
{
"__type__": "9285eM4YhBJhL8+C569X294",
@ -1031,11 +1031,11 @@
"_collideBoxOpacity": 100,
"_isCustomLabelActive": true,
"customComponentName": "Hero",
"_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.sword\n#equip.shoe.attr.speed",
"_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.shoe.attr.speed",
"_customLabelOffset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"y": 150
},
"_customLabelColor": {
"__type__": "cc.Color",
@ -1076,7 +1076,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 713,
"width": 714.85,
"height": 268.8
},
"_anchorPoint": {

View File

@ -1 +1 @@
{"version":3,"sources":["assets\\Script\\Hero.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAM,IAAA,KAAsB,EAAE,CAAC,UAAU,EAAlC,OAAO,aAAA,EAAE,QAAQ,cAAiB,CAAC;AAG1C;IAAwC,8BAAY;IAApD;QAAA,qEAuBC;QAtBG,QAAE,GAAG,GAAG,CAAC;QACT,QAAE,GAAG,EAAE,CAAC;QACR,WAAK,GAAG;YACJ,IAAI,EAAC,IAAI;YACT,KAAK,EAAC;gBACF,IAAI,EAAC,IAAI;gBACT,MAAM,EAAC,EAAE;aACZ;YACD,IAAI,EAAC;gBACD,IAAI,EAAC,IAAI;gBACT,IAAI,EAAC;oBACD,IAAI,EAAC,IAAI;oBACT,KAAK,EAAC,CAAC;oBACP,OAAO,EAAC,GAAG;iBACd;aACJ;SACJ,CAAA;;IAML,CAAC;IAJG,2BAAM,GAAN,UAAQ,EAAE;QACN,IAAI,CAAC,EAAE,IAAI,GAAG,GAAC,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,IAAI,GAAG,GAAC,EAAE,CAAC;IACtB,CAAC;IAtBgB,UAAU;QAD9B,OAAO;OACa,UAAU,CAuB9B;IAAD,iBAAC;CAvBD,AAuBC,CAvBuC,EAAE,CAAC,SAAS,GAuBnD;kBAvBoB,UAAU","file":"","sourceRoot":"/","sourcesContent":["const {ccclass, property} = cc._decorator;\n\n@ccclass\nexport default class Helloworld extends cc.Component {\n hp = 100;\n mp = 60;\n equip = {\n name:'装备',\n sword:{\n name:'小刀',\n attack:30\n },\n shoe:{\n name:'草鞋',\n attr:{\n name:'属性',\n speed:5,\n durable:100\n }\n }\n }\n\n update (dt) {\n this.hp += 1.0*dt;\n this.mp += 0.5*dt;\n }\n}"]}
{"version":3,"sources":["assets\\Script\\Hero.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAM,IAAA,KAAsB,EAAE,CAAC,UAAU,EAAlC,OAAO,aAAA,EAAE,QAAQ,cAAiB,CAAC;AAG1C;IAAwC,8BAAY;IAApD;QAAA,qEAuBC;QAtBG,QAAE,GAAG,GAAG,CAAC;QACT,QAAE,GAAG,EAAE,CAAC;QACR,WAAK,GAAG;YACJ,IAAI,EAAC,IAAI;YACT,KAAK,EAAC;gBACF,IAAI,EAAC,IAAI;gBACT,MAAM,EAAC,EAAE;aACZ;YACD,IAAI,EAAC;gBACD,IAAI,EAAC,IAAI;gBACT,IAAI,EAAC;oBACD,IAAI,EAAC,IAAI;oBACT,KAAK,EAAC,CAAC;oBACP,OAAO,EAAC,GAAG;iBACd;aACJ;SACJ,CAAA;;IAML,CAAC;IAJG,2BAAM,GAAN,UAAQ,EAAE;QACN,IAAI,CAAC,EAAE,IAAI,GAAG,GAAC,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,IAAI,GAAG,GAAC,EAAE,CAAC;IACtB,CAAC;IAtBgB,UAAU;QAD9B,OAAO;OACa,UAAU,CAuB9B;IAAD,iBAAC;CAvBD,AAuBC,CAvBuC,EAAE,CAAC,SAAS,GAuBnD;kBAvBoB,UAAU","file":"","sourceRoot":"/","sourcesContent":["const {ccclass, property} = cc._decorator;\r\n\r\n@ccclass\r\nexport default class Helloworld extends cc.Component {\r\n hp = 100;\r\n mp = 60;\r\n equip = {\r\n name:'装备',\r\n sword:{\r\n name:'小刀',\r\n attack:30\r\n },\r\n shoe:{\r\n name:'草鞋',\r\n attr:{\r\n name:'属性',\r\n speed:5,\r\n durable:100\r\n }\r\n }\r\n }\r\n\r\n update (dt) {\r\n this.hp += 1.0*dt;\r\n this.mp += 0.5*dt;\r\n }\r\n}"]}

View File

@ -1,547 +1,547 @@
{
"9836134e-b892-4283-b6b2-78b5acf3ed45": {
"asset": 1683513460206,
"meta": 1684902668632,
"asset": 1682398123032,
"meta": 1685194618505,
"relativePath": "effects"
},
"f8e6b000-5643-4b86-9080-aa680ce1f599": {
"asset": 1683513460446,
"meta": 1684902668636,
"asset": 1682398123088,
"meta": 1685194618506,
"relativePath": "image"
},
"5c3eedba-6c41-4c0c-9ba7-d91f813cbd1c": {
"asset": 1683513460456,
"meta": 1684902668639,
"asset": 1682398123097,
"meta": 1685194618507,
"relativePath": "materials"
},
"fc09f9bd-2cce-4605-b630-8145ef809ed6": {
"asset": 1683513460471,
"meta": 1684902668643,
"asset": 1682398123103,
"meta": 1685194618508,
"relativePath": "misc"
},
"db019bf7-f71c-4111-98cf-918ea180cb48": {
"asset": 1683513460529,
"meta": 1684902668646,
"asset": 1682398123140,
"meta": 1685194618509,
"relativePath": "model"
},
"f6e6dd15-71d1-4ffe-ace7-24fd39942c05": {
"asset": 1683513460609,
"meta": 1684902668650,
"asset": 1682398123149,
"meta": 1685194618512,
"relativePath": "obsolete"
},
"f743d2b6-b7ea-4c14-a55b-547ed4d0a045": {
"asset": 1683513460627,
"meta": 1684902668653,
"asset": 1682398123155,
"meta": 1685194618514,
"relativePath": "particle"
},
"ae6c6c98-11e4-452f-8758-75f5c6a56e83": {
"asset": 1683513460972,
"meta": 1684902668657,
"asset": 1682398123246,
"meta": 1685194618515,
"relativePath": "prefab"
},
"d8afc78c-4eac-4a9f-83dd-67bc70344d33": {
"asset": 1683513461160,
"meta": 1684902668661,
"asset": 1682398123288,
"meta": 1685194618517,
"relativePath": "resources"
},
"abc2cb62-7852-4525-a90d-d474487b88f2": {
"asset": 1683513460118,
"meta": 1684902669004,
"asset": 1672392280858,
"meta": 1685194618699,
"relativePath": "effects\\builtin-phong.effect"
},
"e2f00085-c597-422d-9759-52c360279106": {
"asset": 1683513460125,
"meta": 1684902669161,
"asset": 1672392280859,
"meta": 1685194618797,
"relativePath": "effects\\builtin-toon.effect"
},
"430eccbf-bf2c-4e6e-8c0c-884bbb487f32": {
"asset": 1683513460131,
"meta": 1684902669207,
"asset": 1672392280854,
"meta": 1685194618819,
"relativePath": "effects\\__builtin-editor-gizmo-line.effect"
},
"6c5cf6e1-b044-4eac-9431-835644d57381": {
"asset": 1683513460199,
"meta": 1684902669239,
"asset": 1672392280855,
"meta": 1685194618832,
"relativePath": "effects\\__builtin-editor-gizmo-unlit.effect"
},
"115286d1-2e10-49ee-aab4-341583f607e8": {
"asset": 1683513460204,
"meta": 1684902669332,
"asset": 1672392280856,
"meta": 1685194618873,
"relativePath": "effects\\__builtin-editor-gizmo.effect"
},
"71561142-4c83-4933-afca-cb7a17f67053": {
"asset": 1683513460217,
"meta": 1684902669443,
"asset": 1672392280889,
"meta": 1685194618916,
"relativePath": "image\\default_btn_disabled.png"
},
"b43ff3c2-02bb-4874-81f7-f2dea6970f18": {
"asset": 1683513460293,
"meta": 1684902669443,
"asset": 1672392280892,
"meta": 1685194618932,
"relativePath": "image\\default_btn_pressed.png"
},
"e851e89b-faa2-4484-bea6-5c01dd9f06e2": {
"asset": 1683513460222,
"meta": 1684902669443,
"asset": 1672392280891,
"meta": 1685194618916,
"relativePath": "image\\default_btn_normal.png"
},
"d81ec8ad-247c-4e62-aa3c-d35c4193c7af": {
"asset": 1683513460303,
"meta": 1684902669474,
"asset": 1672392280895,
"meta": 1685194618936,
"relativePath": "image\\default_panel.png"
},
"edd215b9-2796-4a05-aaf5-81f96c9281ce": {
"asset": 1683513460299,
"meta": 1684902669458,
"asset": 1672392280894,
"meta": 1685194618916,
"relativePath": "image\\default_editbox_bg.png"
},
"600301aa-3357-4a10-b086-84f011fa32ba": {
"asset": 1683513460213,
"meta": 1684902669458,
"asset": 1672392280916,
"meta": 1685194618936,
"relativePath": "image\\default-particle.png"
},
"cfef78f1-c8df-49b7-8ed0-4c953ace2621": {
"asset": 1683513460309,
"meta": 1684902669474,
"asset": 1672392280899,
"meta": 1685194618916,
"relativePath": "image\\default_progressbar.png"
},
"99170b0b-d210-46f1-b213-7d9e3f23098a": {
"asset": 1683513460314,
"meta": 1684902669599,
"asset": 1672392280896,
"meta": 1685194618916,
"relativePath": "image\\default_progressbar_bg.png"
},
"9d60001f-b5f4-4726-a629-2659e3ded0b8": {
"asset": 1683513460322,
"meta": 1684902669615,
"asset": 1672392280901,
"meta": 1685194618952,
"relativePath": "image\\default_radio_button_on.png"
},
"0275e94c-56a7-410f-bd1a-fc7483f7d14a": {
"asset": 1683513460422,
"meta": 1684902669630,
"asset": 1672392280908,
"meta": 1685194618968,
"relativePath": "image\\default_sprite_splash.png"
},
"0291c134-b3da-4098-b7b5-e397edbe947f": {
"asset": 1683513460399,
"meta": 1684902669599,
"asset": 1672392280907,
"meta": 1685194618968,
"relativePath": "image\\default_scrollbar.png"
},
"4bab67cb-18e6-4099-b840-355f0473f890": {
"asset": 1683513460403,
"meta": 1684902669615,
"asset": 1672392280903,
"meta": 1685194618968,
"relativePath": "image\\default_scrollbar_bg.png"
},
"e39e96e6-6f6e-413f-bcf1-ac7679bb648a": {
"asset": 1683513460517,
"meta": 1684902669474,
"asset": 1682398123135,
"meta": 1685194618968,
"relativePath": "model\\prefab"
},
"567dcd80-8bf4-4535-8a5a-313f1caf078a": {
"asset": 1683513460319,
"meta": 1684902669599,
"asset": 1672392280900,
"meta": 1685194618968,
"relativePath": "image\\default_radio_button_off.png"
},
"d6d3ca85-4681-47c1-b5dd-d036a9d39ea2": {
"asset": 1683513460407,
"meta": 1684902669615,
"asset": 1672392280906,
"meta": 1685194618968,
"relativePath": "image\\default_scrollbar_vertical.png"
},
"c4480a0a-6ac5-443f-8b40-361a14257fc8": {
"asset": 1683513460454,
"meta": 1684902670599,
"asset": 1672392280920,
"meta": 1685194619554,
"relativePath": "materials\\builtin-phong.mtl"
},
"617323dd-11f4-4dd3-8eec-0caf6b3b45b9": {
"asset": 1683513460411,
"meta": 1684902669630,
"asset": 1672392280904,
"meta": 1685194618968,
"relativePath": "image\\default_scrollbar_vertical_bg.png"
},
"6e056173-d285-473c-b206-40a7fff5386e": {
"asset": 1683513460417,
"meta": 1684902669630,
"asset": 1672392280910,
"meta": 1685194618983,
"relativePath": "image\\default_sprite.png"
},
"73a0903d-d80e-4e3c-aa67-f999543c08f5": {
"asset": 1683513460427,
"meta": 1684902669802,
"asset": 1672392280911,
"meta": 1685194619033,
"relativePath": "image\\default_toggle_checkmark.png"
},
"b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd": {
"asset": 1683513460444,
"meta": 1684902669849,
"asset": 1672392280915,
"meta": 1685194619040,
"relativePath": "image\\default_toggle_pressed.png"
},
"c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f": {
"asset": 1683513460430,
"meta": 1684902669802,
"asset": 1672392280913,
"meta": 1685194619037,
"relativePath": "image\\default_toggle_disabled.png"
},
"2be36297-9abb-4fee-8049-9ed5e271da8a": {
"asset": 1683513460469,
"meta": 1684902669849,
"asset": 1672392280924,
"meta": 1685194619045,
"relativePath": "misc\\default_video.mp4"
},
"d29077ba-1627-4a72-9579-7b56a235340c": {
"asset": 1683513460440,
"meta": 1684902669802,
"asset": 1672392280914,
"meta": 1685194619043,
"relativePath": "image\\default_toggle_normal.png"
},
"897ef7a1-4860-4f64-968d-f5924b18668a": {
"asset": 1683513460702,
"meta": 1684902669646,
"asset": 1672392281012,
"meta": 1685194619057,
"relativePath": "prefab\\2d-camera.prefab"
},
"8a96b965-2dc0-4e03-aa90-3b79cb93b5b4": {
"asset": 1683513460609,
"meta": 1684902669896,
"asset": 1672392280966,
"meta": 1685194619052,
"relativePath": "obsolete\\atom.png"
},
"70d7cdb0-04cd-41bb-9480-c06a4785f386": {
"asset": 1683513460707,
"meta": 1684902669662,
"asset": 1672392281013,
"meta": 1685194619062,
"relativePath": "prefab\\3d-camera.prefab"
},
"ed88f13d-fcad-4848-aa35-65a2cb973584": {
"asset": 1683513460716,
"meta": 1684902669677,
"asset": 1672392281016,
"meta": 1685194619066,
"relativePath": "prefab\\3d-stage.prefab"
},
"a3ee0214-b432-4865-9666-4a3211814282": {
"asset": 1683513460839,
"meta": 1684902669662,
"asset": 1682398123199,
"meta": 1685194619070,
"relativePath": "prefab\\light"
},
"d0a82d39-bede-46c4-b698-c81ff0dedfff": {
"asset": 1683513460626,
"meta": 1684902669865,
"asset": 1672392280972,
"meta": 1685194619068,
"relativePath": "particle\\atom.png"
},
"70bbeb73-6dc2-4ee4-8faf-76b3a0e34ec4": {
"asset": 1683513460711,
"meta": 1684902669662,
"asset": 1672392281015,
"meta": 1685194619073,
"relativePath": "prefab\\3d-particle.prefab"
},
"972b9a4d-47ee-4c74-b5c3-61d8a69bc29f": {
"asset": 1683513460722,
"meta": 1684902669677,
"asset": 1672392281017,
"meta": 1685194619076,
"relativePath": "prefab\\button.prefab"
},
"2c937608-2562-40ea-b264-7395df6f0cea": {
"asset": 1683513460726,
"meta": 1684902669677,
"asset": 1672392281019,
"meta": 1685194619083,
"relativePath": "prefab\\canvas.prefab"
},
"61aeb05b-3b32-452b-8eed-2b76deeed554": {
"asset": 1683513460731,
"meta": 1684902669693,
"asset": 1672392281020,
"meta": 1685194619100,
"relativePath": "prefab\\editbox.prefab"
},
"27756ebb-3d33-44b0-9b96-e858fadd4dd4": {
"asset": 1683513460743,
"meta": 1684902669708,
"asset": 1672392281021,
"meta": 1685194619105,
"relativePath": "prefab\\label.prefab"
},
"785a442c-3ceb-45be-a46e-7317f625f3b9": {
"asset": 1683513460749,
"meta": 1684902669708,
"asset": 1672392281023,
"meta": 1685194619108,
"relativePath": "prefab\\layout.prefab"
},
"ca8401fe-ad6e-41a8-bd46-8e3e4e9945be": {
"asset": 1683513460843,
"meta": 1684902669708,
"asset": 1672392281036,
"meta": 1685194619115,
"relativePath": "prefab\\pageview.prefab"
},
"cd33edea-55f5-46c2-958d-357a01384a36": {
"asset": 1683513460847,
"meta": 1684902669724,
"asset": 1672392281037,
"meta": 1685194619112,
"relativePath": "prefab\\particlesystem.prefab"
},
"5965ffac-69da-4b55-bcde-9225d0613c28": {
"asset": 1683513460852,
"meta": 1684902669724,
"asset": 1672392281038,
"meta": 1685194619119,
"relativePath": "prefab\\progressBar.prefab"
},
"4a37dd57-78cd-4cec-aad4-f11a73d12b63": {
"asset": 1683513460856,
"meta": 1684902669740,
"asset": 1672392281040,
"meta": 1685194619123,
"relativePath": "prefab\\richtext.prefab"
},
"32044bd2-481f-4cf1-a656-e2b2fb1594eb": {
"asset": 1683513460862,
"meta": 1684902669740,
"asset": 1672392281041,
"meta": 1685194619137,
"relativePath": "prefab\\scrollview.prefab"
},
"0004d1cf-a0ad-47d8-ab17-34d3db9d35a3": {
"asset": 1683513460865,
"meta": 1684902669740,
"asset": 1672392281042,
"meta": 1685194619141,
"relativePath": "prefab\\slider.prefab"
},
"96083d03-c332-4a3f-9386-d03e2d19e8ee": {
"asset": 1683513460871,
"meta": 1684902669771,
"asset": 1672392281045,
"meta": 1685194619144,
"relativePath": "prefab\\sprite.prefab"
},
"1f55e3be-b89b-4b79-88de-47fd31018044": {
"asset": 1683513460875,
"meta": 1684902669787,
"asset": 1672392281044,
"meta": 1685194619148,
"relativePath": "prefab\\sprite_splash.prefab"
},
"7de03a80-4457-438d-95a7-3e7cdffd6086": {
"asset": 1683513460879,
"meta": 1684902669818,
"asset": 1672392281046,
"meta": 1685194619150,
"relativePath": "prefab\\tiledmap.prefab"
},
"294c1663-4adf-4a1e-a795-53808011a38a": {
"asset": 1683513461089,
"meta": 1684902669787,
"asset": 1682398123285,
"meta": 1685194619152,
"relativePath": "resources\\effects"
},
"0e42ba95-1fa1-46aa-b2cf-143cd1bcee2c": {
"asset": 1683513460884,
"meta": 1684902669818,
"asset": 1672392281048,
"meta": 1685194619154,
"relativePath": "prefab\\tiledtile.prefab"
},
"bbee2217-c261-49bd-a8ce-708d6bcc3500": {
"asset": 1683513461345,
"meta": 1684902669787,
"asset": 1682398123322,
"meta": 1685194619156,
"relativePath": "resources\\materials"
},
"0d784963-d024-4ea6-a7db-03be0ad63010": {
"asset": 1683513460890,
"meta": 1684902669818,
"asset": 1672392281049,
"meta": 1685194619161,
"relativePath": "prefab\\toggle.prefab"
},
"bf0a434c-84dd-4a8e-a08a-7a36f180cc75": {
"asset": 1683513460893,
"meta": 1684902669833,
"asset": 1672392281051,
"meta": 1685194619175,
"relativePath": "prefab\\toggleContainer.prefab"
},
"d1b8be49-b0a0-435c-83b7-552bed4bbe35": {
"asset": 1683513460899,
"meta": 1684902669833,
"asset": 1672392281052,
"meta": 1685194619180,
"relativePath": "prefab\\toggleGroup.prefab"
},
"232d2782-c4bd-4bb4-9e01-909f03d6d3b9": {
"asset": 1683513460904,
"meta": 1684902669833,
"asset": 1672392281053,
"meta": 1685194619182,
"relativePath": "prefab\\videoplayer.prefab"
},
"8c5001fd-07ee-4a4b-a8a0-63e15195e94d": {
"asset": 1683513460971,
"meta": 1684902670224,
"asset": 1672392281055,
"meta": 1685194619183,
"relativePath": "prefab\\webview.prefab"
},
"a87cc147-01b2-43f8-8e42-a7ca90b0c757": {
"asset": 1683513460483,
"meta": 1684902670396,
"asset": 1672392280949,
"meta": 1685194619183,
"relativePath": "model\\prefab\\box.prefab"
},
"fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a": {
"asset": 1683513460488,
"meta": 1684902670380,
"asset": 1672392280951,
"meta": 1685194619183,
"relativePath": "model\\prefab\\capsule.prefab"
},
"b5fc2cf2-7942-483d-be1f-bbeadc4714ad": {
"asset": 1683513460493,
"meta": 1684902670396,
"asset": 1672392280952,
"meta": 1685194619183,
"relativePath": "model\\prefab\\cone.prefab"
},
"1c5e4038-953a-44c2-b620-0bbfc6170477": {
"asset": 1683513460496,
"meta": 1684902670380,
"asset": 1672392280953,
"meta": 1685194619199,
"relativePath": "model\\prefab\\cylinder.prefab"
},
"3f376125-a699-40ca-ad05-04d662eaa1f2": {
"asset": 1683513460502,
"meta": 1684902670412,
"asset": 1672392280955,
"meta": 1685194619212,
"relativePath": "model\\prefab\\plane.prefab"
},
"6c9ef10d-b479-420b-bfe6-39cdda6a8ae0": {
"asset": 1683513460507,
"meta": 1684902670396,
"asset": 1672392280956,
"meta": 1685194619238,
"relativePath": "model\\prefab\\quad.prefab"
},
"30682f87-9f0d-4f17-8a44-72863791461b": {
"asset": 1683513460981,
"meta": 1684902669896,
"asset": 1672392281098,
"meta": 1685194619229,
"relativePath": "resources\\effects\\builtin-2d-graphics.effect"
},
"144c3297-af63-49e8-b8ef-1cfa29b3be28": {
"asset": 1683513460987,
"meta": 1684902669927,
"asset": 1672392281099,
"meta": 1685194619238,
"relativePath": "resources\\effects\\builtin-2d-gray-sprite.effect"
},
"de510076-056b-484f-b94c-83bef217d0e1": {
"asset": 1683513460515,
"meta": 1684902670427,
"asset": 1672392280959,
"meta": 1685194619229,
"relativePath": "model\\prefab\\torus.prefab"
},
"f18742d7-56d2-4eb5-ae49-2d9d710b37c8": {
"asset": 1683513460990,
"meta": 1684902669958,
"asset": 1672392281101,
"meta": 1685194619253,
"relativePath": "resources\\effects\\builtin-2d-label.effect"
},
"2d9a4b85-b0ab-4c46-84c5-18f393ab2058": {
"asset": 1683513460512,
"meta": 1684902670412,
"asset": 1672392280957,
"meta": 1685194619206,
"relativePath": "model\\prefab\\sphere.prefab"
},
"0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7": {
"asset": 1683513461061,
"meta": 1684902670005,
"asset": 1672392281102,
"meta": 1685194619269,
"relativePath": "resources\\effects\\builtin-2d-spine.effect"
},
"2874f8dd-416c-4440-81b7-555975426e93": {
"asset": 1683513461065,
"meta": 1684902670037,
"asset": 1672392281103,
"meta": 1685194619284,
"relativePath": "resources\\effects\\builtin-2d-sprite.effect"
},
"829a282c-b049-4019-bd38-5ace8d8a6417": {
"asset": 1683513461071,
"meta": 1684902670208,
"asset": 1672392281105,
"meta": 1685194619385,
"relativePath": "resources\\effects\\builtin-3d-particle.effect"
},
"2a7c0036-e0b3-4fe1-8998-89a54b8a2bec": {
"asset": 1683513461076,
"meta": 1684902670287,
"asset": 1672392281106,
"meta": 1685194619432,
"relativePath": "resources\\effects\\builtin-3d-trail.effect"
},
"61906da3-7003-4bda-9abc-5769c76faee4": {
"asset": 1683513460825,
"meta": 1684902670427,
"asset": 1672392281030,
"meta": 1685194619402,
"relativePath": "prefab\\light\\ambient.prefab"
},
"c0040c95-c57f-49cd-9cbc-12316b73d0d4": {
"asset": 1683513461081,
"meta": 1684902670318,
"asset": 1672392281107,
"meta": 1685194619438,
"relativePath": "resources\\effects\\builtin-clear-stencil.effect"
},
"6d91e591-4ce0-465c-809f-610ec95019c6": {
"asset": 1683513461086,
"meta": 1684902670365,
"asset": 1672392281109,
"meta": 1685194619469,
"relativePath": "resources\\effects\\builtin-unlit.effect"
},
"ddb99b39-7004-47cd-9705-751905c43c46": {
"asset": 1683513460829,
"meta": 1684902670427,
"asset": 1672392281032,
"meta": 1685194619433,
"relativePath": "prefab\\light\\directional.prefab"
},
"0cf30284-9073-46bc-9eba-e62b69dbbff3": {
"asset": 1683513460834,
"meta": 1684902670443,
"asset": 1672392281033,
"meta": 1685194619469,
"relativePath": "prefab\\light\\point.prefab"
},
"f5331fd2-bf42-4ee3-a3fd-3e1657600eff": {
"asset": 1683513460838,
"meta": 1684902670443,
"asset": 1672392281034,
"meta": 1685194619469,
"relativePath": "prefab\\light\\spot.prefab"
},
"6f801092-0c37-4f30-89ef-c8d960825b36": {
"asset": 1683513461162,
"meta": 1684902670724,
"asset": 1672392281124,
"meta": 1685194619616,
"relativePath": "resources\\materials\\builtin-2d-base.mtl"
},
"a153945d-2511-4c14-be7b-05d242f47d57": {
"asset": 1683513461242,
"meta": 1684902670724,
"asset": 1672392281125,
"meta": 1685194619616,
"relativePath": "resources\\materials\\builtin-2d-graphics.mtl"
},
"3a7bb79f-32fd-422e-ada2-96f518fed422": {
"asset": 1683513461246,
"meta": 1684902670740,
"asset": 1672392281126,
"meta": 1685194619616,
"relativePath": "resources\\materials\\builtin-2d-gray-sprite.mtl"
},
"e02d87d4-e599-4d16-8001-e14891ac6506": {
"asset": 1683513461317,
"meta": 1684902670740,
"asset": 1672392281128,
"meta": 1685194619616,
"relativePath": "resources\\materials\\builtin-2d-label.mtl"
},
"7afd064b-113f-480e-b793-8817d19f63c3": {
"asset": 1683513461321,
"meta": 1684902670724,
"asset": 1672392281129,
"meta": 1685194619616,
"relativePath": "resources\\materials\\builtin-2d-spine.mtl"
},
"eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432": {
"asset": 1683513461326,
"meta": 1684902670771,
"asset": 1672392281130,
"meta": 1685194619616,
"relativePath": "resources\\materials\\builtin-2d-sprite.mtl"
},
"432fa09c-cf03-4cff-a186-982604408a07": {
"asset": 1683513461330,
"meta": 1684902670740,
"asset": 1672392281132,
"meta": 1685194619616,
"relativePath": "resources\\materials\\builtin-3d-particle.mtl"
},
"466d4f9b-e5f4-4ea8-85d5-3c6e9a65658a": {
"asset": 1683513461334,
"meta": 1684902670771,
"asset": 1672392281133,
"meta": 1685194619632,
"relativePath": "resources\\materials\\builtin-3d-trail.mtl"
},
"cf7e0bb8-a81c-44a9-ad79-d28d43991032": {
"asset": 1683513461340,
"meta": 1684902670771,
"asset": 1672392281134,
"meta": 1685194619632,
"relativePath": "resources\\materials\\builtin-clear-stencil.mtl"
},
"2a296057-247c-4a1c-bbeb-0548b6c98650": {
"asset": 1683513461344,
"meta": 1684902670771,
"asset": 1672392281135,
"meta": 1685194619632,
"relativePath": "resources\\materials\\builtin-unlit.mtl"
},
"b8223619-7e38-47c4-841f-9160c232495a": {
"asset": 1683513460604,
"meta": 1684902670821,
"asset": 1672392280965,
"meta": 1685194619651,
"relativePath": "obsolete\\atom.plist"
},
"b2687ac4-099e-403c-a192-ff477686f4f5": {
"asset": 1683513460620,
"meta": 1684902670823,
"asset": 1672392280971,
"meta": 1685194619652,
"relativePath": "particle\\atom.plist"
},
"954fec8b-cd16-4bb9-a3b7-7719660e7558": {
"asset": 1683513460526,
"meta": 1684902676469,
"asset": 1672392280960,
"meta": 1685194622446,
"relativePath": "model\\primitives.fbx"
},
"29f52784-2fca-467b-92e7-8fd9ef8c57b7": {
"asset": 1684904993824,
"meta": 1684905842665,
"asset": 1685194264356,
"meta": 1685194622466,
"relativePath": "Scene"
},
"4734c20c-0db8-4eb2-92ea-e692f4d70934": {
"asset": 1684904993845,
"meta": 1684905842668,
"asset": 1685194264359,
"meta": 1685194622466,
"relativePath": "Script"
},
"7b81d4e8-ec84-4716-968d-500ac1d78a54": {
"asset": 1684904993867,
"meta": 1684905842671,
"asset": 1685194264361,
"meta": 1685194622466,
"relativePath": "Texture"
},
"2d2f792f-a40c-49bb-a189-ed176a246e49": {
"asset": 1684903499844,
"meta": 1684903499854,
"asset": 1685197458380,
"meta": 1685197458389,
"relativePath": "Scene\\helloworld.fire"
},
"a8027877-d8d6-4645-97a0-52d4a0123dba": {
"asset": 1682246139000,
"meta": 1684407654131,
"asset": 1685194264359,
"meta": 1685194622776,
"relativePath": "Texture\\singleColor.png"
},
"e68a8476-8374-4400-ae48-d3eae5df38ea": {
"asset": 1682246139000,
"meta": 1684407654109,
"asset": 1685194264361,
"meta": 1685194622766,
"relativePath": "cocos.anim"
},
"70364224-9941-46cb-9c14-263fa45363b9": {
"asset": 1682246139000,
"meta": 1684407654136,
"asset": 1685194264360,
"meta": 1685194622776,
"relativePath": "Texture\\zhizhuxia.png"
},
"9285e338-6210-4984-bf3e-0b9ebd5f6f78": {
"asset": 1684903428076,
"meta": 1684903431254,
"relativePath": "Script\\Hero.ts"
},
"1c1526d4-850a-49e8-9d63-1a14155187fc": {
"asset": 1684903544311,
"meta": 1684903582325,
"asset": 1685197299221,
"meta": 1685197300603,
"relativePath": "Script\\DataBoard.ts"
},
"9285e338-6210-4984-bf3e-0b9ebd5f6f78": {
"asset": 1685197428895,
"meta": 1685197433673,
"relativePath": "Script\\Hero.ts"
}
}

View File

@ -86,7 +86,8 @@
"inspector",
"cocos-services"
]
}
},
" common-asset-worker-worker": {}
},
"panels": {
"simulator-debugger": {

View File

@ -1,6 +1,22 @@
{
"nodeFoldStates": [
"a286bbGknJLZpRpxROV6M94",
"c4f30YOS65G64U2TwufdJ+2"
"c4f30YOS65G64U2TwufdJ+2",
"11xD0BxxtBsL3dGyOmptts",
"e9zbyA36BCPYqOZeetfKWr",
"6azAOUfRhH0axn8sLbWQuh",
"ffOxe10ktF3Lttl/YWqFbQ",
"c2c3igJapGoK4YtX5QcxC2",
"64y9g8z39PS6r7Jl9j3KKZ",
"a2JQ58VhxLe65qEvcAE8eO",
"c4JEMm05lAKq1BZRGgq9YE",
"09xV0B+ktFL5Qfysi11Zx8",
"f0mjGEjc5LKofoPa6x6SOG",
"3eNIERWHpEo4saCCO6YE9V",
"b9BAaf5aJGt500oiyytp9K",
"a5w5Fq9hJDnYchoSyoTCp2",
"33A3j7mF5N6ql4/IWBl2Xf",
"d4VV9JNglBRI3iGufdF8pm",
"85BlQuDb9HZKuhEJxwyGF+"
]
}

View File

@ -411,12 +411,12 @@
"ctor": "Float64Array",
"array": [
0,
50,
0,
0,
0,
0.6427876096865393,
0.766044443118978,
0,
0,
1,
1,
1,
1
@ -426,7 +426,7 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 80
"z": 0
},
"_skewX": 0,
"_skewY": 0,
@ -532,7 +532,7 @@
{
"__type__": "cc.Node",
"_name": "DataBoard",
"_objFlags": 1536,
"_objFlags": 512,
"_parent": {
"__id__": 8
},
@ -598,7 +598,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "b8IxWUbGBN4ZAK2hGc0mte"
"_id": "85BlQuDb9HZKuhEJxwyGF+"
},
{
"__type__": "cc.Node",
@ -660,7 +660,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "c7vtJRZAJCQ4T0beA4GE98"
"_id": "49+qljSBFDb61/iC62OrLE"
},
{
"__type__": "cc.Sprite",
@ -690,7 +690,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "c6k8j1YNNLH6iOBrpdN3kJ"
"_id": "6axJdFuntK570hv44oHwcH"
},
{
"__type__": "cc.Node",
@ -734,8 +734,8 @@
0,
0,
0,
-0.6427876096865393,
0.766044443118978,
0,
1,
1,
1,
1
@ -745,14 +745,14 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -80
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9aN+10CXdOSY8LkytqGrCE"
"_id": "66fiagvGZM17jxJS3e3R/O"
},
{
"__type__": "cc.Sprite",
@ -782,7 +782,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "66/N4fj+xMs5LA1EZkAegh"
"_id": "e7StEP5C5EIY76/7RYAGaS"
},
{
"__type__": "cc.Node",
@ -844,7 +844,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "97SVMRHiZESKvhs6O6T+F6"
"_id": "67uLDk0kNPMLrmc4a+2Lcz"
},
{
"__type__": "cc.Sprite",
@ -874,7 +874,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "0dYOQeFA1EubrzVCvgNCHr"
"_id": "19kjTk6vxDsqYAK8l1jO+n"
},
{
"__type__": "cc.Node",
@ -904,8 +904,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 651,
"height": 462.72
"width": 618.97,
"height": 390.72
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@ -917,12 +917,12 @@
"ctor": "Float64Array",
"array": [
0,
150,
0,
0,
0,
0,
-0.6427876096865393,
0.766044443118978,
1,
1,
1,
1
@ -932,14 +932,14 @@
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": -80
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "abSX/4O+BGeKHeujiB3wJM"
"_id": "930hpjvLBPHbYO0z9MngLs"
},
{
"__type__": "cc.Label",
@ -956,8 +956,8 @@
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_string": "坐标:\t0.0,\t50.0\n角度:\t80.0°,\t弧度:\t0.4π\n世界坐标:\t540.0,\t1010.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n小刀\n5.0",
"_N$string": "坐标:\t0.0,\t50.0\n角度:\t80.0°,\t弧度:\t0.4π\n世界坐标:\t540.0,\t1010.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n小刀\n5.0",
"_string": "坐标:\t0.0,\t0.0\n角度:\t0.0°,\t弧度:\t0.0π\n世界坐标:\t540.0,\t960.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n5.0",
"_N$string": "坐标:\t0.0,\t0.0\n角度:\t0.0°,\t弧度:\t0.0π\n世界坐标:\t540.0,\t960.0\nhp:\t100.0\t\t\t\t\t\tmp:\t60.0\n5.0",
"_fontSize": 60,
"_lineHeight": 72,
"_enableWrapText": true,
@ -972,7 +972,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "13p4urwflHk7m1T9Vqj5+5"
"_id": "357EdNN/VPTaPJCzr51Jj0"
},
{
"__type__": "cc.LabelOutline",
@ -990,7 +990,7 @@
"a": 255
},
"_width": 6,
"_id": "f9RKPbYmBJLqgnT16oJjtk"
"_id": "b4ov1ei1RJaZNO5PGzLCHc"
},
{
"__type__": "9285eM4YhBJhL8+C569X294",
@ -1030,11 +1030,11 @@
"_collideBoxOpacity": 100,
"_isCustomLabelActive": true,
"customComponentName": "Hero",
"_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.sword\n#equip.shoe.attr.speed",
"_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.shoe.attr.speed",
"_customLabelOffset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
"y": 150
},
"_customLabelColor": {
"__type__": "cc.Color",
@ -1075,7 +1075,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 713,
"width": 714.85,
"height": 268.8
},
"_anchorPoint": {

View File

@ -1 +1 @@
{"version":"1.0.8","stats":{"D:/Project/DataBoard/temp/quick-scripts/src/__qc_index__.js":"2023-05-24T05:24:03.276Z","D:/Project/DataBoard/temp/quick-scripts/src/assets/Script/DataBoard.js":"2023-05-24T05:24:03.172Z","D:/Project/DataBoard/temp/quick-scripts/src/assets/Script/Hero.js":"2023-05-24T05:24:03.176Z"}}
{"version":"1.0.8","stats":{"D:/Project/DataBoardDemo/temp/quick-scripts/src/__qc_index__.js":"2023-05-27T13:37:03.175Z","D:/Project/DataBoardDemo/temp/quick-scripts/src/assets/Script/Hero.js":"2023-05-27T13:37:03.096Z","D:/Project/DataBoardDemo/temp/quick-scripts/src/assets/Script/DataBoard.js":"2023-05-27T13:37:03.096Z"}}

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
(function () {
var scripts = [{"deps":{"./assets/Script/DataBoard":1,"./assets/Script/Hero":2},"path":"preview-scripts/__qc_index__.js"},{"deps":{},"path":"preview-scripts/assets/Script/DataBoard.js"},{"deps":{},"path":"preview-scripts/assets/Script/Hero.js"}];
var scripts = [{"deps":{"./assets/Script/DataBoard":2,"./assets/Script/Hero":1},"path":"preview-scripts/__qc_index__.js"},{"deps":{},"path":"preview-scripts/assets/Script/Hero.js"},{"deps":{},"path":"preview-scripts/assets/Script/DataBoard.js"}];
var entries = ["preview-scripts/__qc_index__.js"];
var bundleScript = 'preview-scripts/__qc_bundle__.js';

File diff suppressed because one or more lines are too long

View File

@ -80,4 +80,4 @@ cc._RF.pop();
});
}
})();
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFzc2V0c1xcU2NyaXB0XFxIZXJvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFNLElBQUEsS0FBc0IsRUFBRSxDQUFDLFVBQVUsRUFBbEMsT0FBTyxhQUFBLEVBQUUsUUFBUSxjQUFpQixDQUFDO0FBRzFDO0lBQXdDLDhCQUFZO0lBQXBEO1FBQUEscUVBdUJDO1FBdEJHLFFBQUUsR0FBRyxHQUFHLENBQUM7UUFDVCxRQUFFLEdBQUcsRUFBRSxDQUFDO1FBQ1IsV0FBSyxHQUFHO1lBQ0osSUFBSSxFQUFDLElBQUk7WUFDVCxLQUFLLEVBQUM7Z0JBQ0YsSUFBSSxFQUFDLElBQUk7Z0JBQ1QsTUFBTSxFQUFDLEVBQUU7YUFDWjtZQUNELElBQUksRUFBQztnQkFDRCxJQUFJLEVBQUMsSUFBSTtnQkFDVCxJQUFJLEVBQUM7b0JBQ0QsSUFBSSxFQUFDLElBQUk7b0JBQ1QsS0FBSyxFQUFDLENBQUM7b0JBQ1AsT0FBTyxFQUFDLEdBQUc7aUJBQ2Q7YUFDSjtTQUNKLENBQUE7O0lBTUwsQ0FBQztJQUpHLDJCQUFNLEdBQU4sVUFBUSxFQUFFO1FBQ04sSUFBSSxDQUFDLEVBQUUsSUFBSSxHQUFHLEdBQUMsRUFBRSxDQUFDO1FBQ2xCLElBQUksQ0FBQyxFQUFFLElBQUksR0FBRyxHQUFDLEVBQUUsQ0FBQztJQUN0QixDQUFDO0lBdEJnQixVQUFVO1FBRDlCLE9BQU87T0FDYSxVQUFVLENBdUI5QjtJQUFELGlCQUFDO0NBdkJELEFBdUJDLENBdkJ1QyxFQUFFLENBQUMsU0FBUyxHQXVCbkQ7a0JBdkJvQixVQUFVIiwiZmlsZSI6IiIsInNvdXJjZVJvb3QiOiIvIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3Qge2NjY2xhc3MsIHByb3BlcnR5fSA9IGNjLl9kZWNvcmF0b3I7XG5cbkBjY2NsYXNzXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBIZWxsb3dvcmxkIGV4dGVuZHMgY2MuQ29tcG9uZW50IHtcbiAgICBocCA9IDEwMDtcbiAgICBtcCA9IDYwO1xuICAgIGVxdWlwID0ge1xuICAgICAgICBuYW1lOifoo4XlpIcnLFxuICAgICAgICBzd29yZDp7XG4gICAgICAgICAgICBuYW1lOiflsI/liIAnLFxuICAgICAgICAgICAgYXR0YWNrOjMwXG4gICAgICAgIH0sXG4gICAgICAgIHNob2U6e1xuICAgICAgICAgICAgbmFtZTon6I2J6Z6LJyxcbiAgICAgICAgICAgIGF0dHI6e1xuICAgICAgICAgICAgICAgIG5hbWU6J+WxnuaApycsXG4gICAgICAgICAgICAgICAgc3BlZWQ6NSxcbiAgICAgICAgICAgICAgICBkdXJhYmxlOjEwMFxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuXG4gICAgdXBkYXRlIChkdCkge1xuICAgICAgICB0aGlzLmhwICs9IDEuMCpkdDtcbiAgICAgICAgdGhpcy5tcCArPSAwLjUqZHQ7XG4gICAgfVxufSJdfQ==
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFzc2V0c1xcU2NyaXB0XFxIZXJvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFNLElBQUEsS0FBc0IsRUFBRSxDQUFDLFVBQVUsRUFBbEMsT0FBTyxhQUFBLEVBQUUsUUFBUSxjQUFpQixDQUFDO0FBRzFDO0lBQXdDLDhCQUFZO0lBQXBEO1FBQUEscUVBdUJDO1FBdEJHLFFBQUUsR0FBRyxHQUFHLENBQUM7UUFDVCxRQUFFLEdBQUcsRUFBRSxDQUFDO1FBQ1IsV0FBSyxHQUFHO1lBQ0osSUFBSSxFQUFDLElBQUk7WUFDVCxLQUFLLEVBQUM7Z0JBQ0YsSUFBSSxFQUFDLElBQUk7Z0JBQ1QsTUFBTSxFQUFDLEVBQUU7YUFDWjtZQUNELElBQUksRUFBQztnQkFDRCxJQUFJLEVBQUMsSUFBSTtnQkFDVCxJQUFJLEVBQUM7b0JBQ0QsSUFBSSxFQUFDLElBQUk7b0JBQ1QsS0FBSyxFQUFDLENBQUM7b0JBQ1AsT0FBTyxFQUFDLEdBQUc7aUJBQ2Q7YUFDSjtTQUNKLENBQUE7O0lBTUwsQ0FBQztJQUpHLDJCQUFNLEdBQU4sVUFBUSxFQUFFO1FBQ04sSUFBSSxDQUFDLEVBQUUsSUFBSSxHQUFHLEdBQUMsRUFBRSxDQUFDO1FBQ2xCLElBQUksQ0FBQyxFQUFFLElBQUksR0FBRyxHQUFDLEVBQUUsQ0FBQztJQUN0QixDQUFDO0lBdEJnQixVQUFVO1FBRDlCLE9BQU87T0FDYSxVQUFVLENBdUI5QjtJQUFELGlCQUFDO0NBdkJELEFBdUJDLENBdkJ1QyxFQUFFLENBQUMsU0FBUyxHQXVCbkQ7a0JBdkJvQixVQUFVIiwiZmlsZSI6IiIsInNvdXJjZVJvb3QiOiIvIiwic291cmNlc0NvbnRlbnQiOlsiY29uc3Qge2NjY2xhc3MsIHByb3BlcnR5fSA9IGNjLl9kZWNvcmF0b3I7XHJcblxyXG5AY2NjbGFzc1xyXG5leHBvcnQgZGVmYXVsdCBjbGFzcyBIZWxsb3dvcmxkIGV4dGVuZHMgY2MuQ29tcG9uZW50IHtcclxuICAgIGhwID0gMTAwO1xyXG4gICAgbXAgPSA2MDtcclxuICAgIGVxdWlwID0ge1xyXG4gICAgICAgIG5hbWU6J+ijheWkhycsXHJcbiAgICAgICAgc3dvcmQ6e1xyXG4gICAgICAgICAgICBuYW1lOiflsI/liIAnLFxyXG4gICAgICAgICAgICBhdHRhY2s6MzBcclxuICAgICAgICB9LFxyXG4gICAgICAgIHNob2U6e1xyXG4gICAgICAgICAgICBuYW1lOifojYnpnosnLFxyXG4gICAgICAgICAgICBhdHRyOntcclxuICAgICAgICAgICAgICAgIG5hbWU6J+WxnuaApycsXHJcbiAgICAgICAgICAgICAgICBzcGVlZDo1LFxyXG4gICAgICAgICAgICAgICAgZHVyYWJsZToxMDBcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgIH1cclxuICAgIH1cclxuXHJcbiAgICB1cGRhdGUgKGR0KSB7XHJcbiAgICAgICAgdGhpcy5ocCArPSAxLjAqZHQ7XHJcbiAgICAgICAgdGhpcy5tcCArPSAwLjUqZHQ7XHJcbiAgICB9XHJcbn0iXX0=

View File

@ -154,7 +154,7 @@ var DataBoard = /** @class */ (function (_super) {
set: function (value) {
this._customLabelString = value;
this.customLabelStringSplit = value
.replace(/,/g, '_~_').replace(/:/g, '_!_').replace(/ /g, '_@_')
.replace(/,|/g, '_~_').replace(/:|/g, '_!_').replace(/ |\t/g, '_@_')
.replace(/_*\n_*/g, '_\n_').split('_');
},
enumerable: false,
@ -203,12 +203,12 @@ var DataBoard = /** @class */ (function (_super) {
configurable: true
});
;
DataBoard.prototype.onLoad = function () {
DataBoard.prototype.start = function () {
this.boardNode = this.node.getChildByName('DataBoard');
if (!CC_EDITOR && !window['DATABOARD']) {
this.destroy();
return;
}
this.boardNode = this.node.getChildByName('DataBoard');
if (cc.isValid(this.boardNode)) {
this.boardNode.removeFromParent();
this.boardNode.destroy();
@ -219,7 +219,7 @@ var DataBoard = /** @class */ (function (_super) {
this.boardNode.setParent(this.node);
this.boardNode.x = this.boardNode.y = 0;
this.boardNode.zIndex = cc.macro.MAX_ZINDEX;
this.boardNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy;
// this.boardNode['_objFlags'] |= cc.Object['Flags'].HideInHierarchy;
this.boardNode['_objFlags'] |= cc.Object['Flags'].LockedInEditor;
this.outlineBoxNode = new cc.Node('OutlineBox');
this.outlineBoxNode.setParent(this.boardNode);
@ -287,6 +287,11 @@ var DataBoard = /** @class */ (function (_super) {
return;
if (!this.customLabelStringSplit)
return;
var radian = -this.node.angle * Math.PI / 180;
var cos = Math.cos(radian);
var sin = Math.sin(radian);
this.customLabelNode.x = this.customLabelOffset.x * cos - this.customLabelOffset.y * sin;
this.customLabelNode.y = this.customLabelOffset.x * sin + this.customLabelOffset.y * cos;
var str = '';
var strs = this.customLabelStringSplit;
if (!this.monitorComp && this.customComponentName) {
@ -356,7 +361,8 @@ var DataBoard = /** @class */ (function (_super) {
};
DataBoard.prototype.parseString = function (str) {
var strs = str.split('.');
var ret = this.monitorComp[strs[0]] || "#" + strs[0];
var ret = this.monitorComp[strs[0]];
ret === undefined && (ret = "#" + strs[0]);
for (var i = 1, len = strs.length; i < len; ++i) {
if (ret[strs[i]] === undefined) {
return (ret.name ? ret.name : ret) + "." + strs[i];
@ -370,7 +376,6 @@ var DataBoard = /** @class */ (function (_super) {
this.boardNode.removeFromParent();
this.boardNode.destroy();
}
;
this.node.targetOff(this);
};
__decorate([

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"version":3,"sources":["assets\\Script\\Hero.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAM,IAAA,KAAsB,EAAE,CAAC,UAAU,EAAlC,OAAO,aAAA,EAAE,QAAQ,cAAiB,CAAC;AAG1C;IAAwC,8BAAY;IAApD;QAAA,qEAuBC;QAtBG,QAAE,GAAG,GAAG,CAAC;QACT,QAAE,GAAG,EAAE,CAAC;QACR,WAAK,GAAG;YACJ,IAAI,EAAC,IAAI;YACT,KAAK,EAAC;gBACF,IAAI,EAAC,IAAI;gBACT,MAAM,EAAC,EAAE;aACZ;YACD,IAAI,EAAC;gBACD,IAAI,EAAC,IAAI;gBACT,IAAI,EAAC;oBACD,IAAI,EAAC,IAAI;oBACT,KAAK,EAAC,CAAC;oBACP,OAAO,EAAC,GAAG;iBACd;aACJ;SACJ,CAAA;;IAML,CAAC;IAJG,2BAAM,GAAN,UAAQ,EAAE;QACN,IAAI,CAAC,EAAE,IAAI,GAAG,GAAC,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,IAAI,GAAG,GAAC,EAAE,CAAC;IACtB,CAAC;IAtBgB,UAAU;QAD9B,OAAO;OACa,UAAU,CAuB9B;IAAD,iBAAC;CAvBD,AAuBC,CAvBuC,EAAE,CAAC,SAAS,GAuBnD;kBAvBoB,UAAU","file":"","sourceRoot":"/","sourcesContent":["const {ccclass, property} = cc._decorator;\n\n@ccclass\nexport default class Helloworld extends cc.Component {\n hp = 100;\n mp = 60;\n equip = {\n name:'装备',\n sword:{\n name:'小刀',\n attack:30\n },\n shoe:{\n name:'草鞋',\n attr:{\n name:'属性',\n speed:5,\n durable:100\n }\n }\n }\n\n update (dt) {\n this.hp += 1.0*dt;\n this.mp += 0.5*dt;\n }\n}"]}
{"version":3,"sources":["assets\\Script\\Hero.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAM,IAAA,KAAsB,EAAE,CAAC,UAAU,EAAlC,OAAO,aAAA,EAAE,QAAQ,cAAiB,CAAC;AAG1C;IAAwC,8BAAY;IAApD;QAAA,qEAuBC;QAtBG,QAAE,GAAG,GAAG,CAAC;QACT,QAAE,GAAG,EAAE,CAAC;QACR,WAAK,GAAG;YACJ,IAAI,EAAC,IAAI;YACT,KAAK,EAAC;gBACF,IAAI,EAAC,IAAI;gBACT,MAAM,EAAC,EAAE;aACZ;YACD,IAAI,EAAC;gBACD,IAAI,EAAC,IAAI;gBACT,IAAI,EAAC;oBACD,IAAI,EAAC,IAAI;oBACT,KAAK,EAAC,CAAC;oBACP,OAAO,EAAC,GAAG;iBACd;aACJ;SACJ,CAAA;;IAML,CAAC;IAJG,2BAAM,GAAN,UAAQ,EAAE;QACN,IAAI,CAAC,EAAE,IAAI,GAAG,GAAC,EAAE,CAAC;QAClB,IAAI,CAAC,EAAE,IAAI,GAAG,GAAC,EAAE,CAAC;IACtB,CAAC;IAtBgB,UAAU;QAD9B,OAAO;OACa,UAAU,CAuB9B;IAAD,iBAAC;CAvBD,AAuBC,CAvBuC,EAAE,CAAC,SAAS,GAuBnD;kBAvBoB,UAAU","file":"","sourceRoot":"/","sourcesContent":["const {ccclass, property} = cc._decorator;\r\n\r\n@ccclass\r\nexport default class Helloworld extends cc.Component {\r\n hp = 100;\r\n mp = 60;\r\n equip = {\r\n name:'装备',\r\n sword:{\r\n name:'小刀',\r\n attack:30\r\n },\r\n shoe:{\r\n name:'草鞋',\r\n attr:{\r\n name:'属性',\r\n speed:5,\r\n durable:100\r\n }\r\n }\r\n }\r\n\r\n update (dt) {\r\n this.hp += 1.0*dt;\r\n this.mp += 0.5*dt;\r\n }\r\n}"]}

View File

@ -1 +1 @@
{"pid":3296}
{"pid":14324}