This commit is contained in:
szrpf 2023-12-03 15:33:14 +08:00
parent c0390eb949
commit d30573f37a
10 changed files with 300 additions and 297 deletions

View File

@ -598,7 +598,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "3d8RDqQvVEfJkF7nWvrxTE" "_id": "76KDntjjFLVKmtFHxYwrV6"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
@ -660,7 +660,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "c3XyfYRgRPB5iyAa58aSsW" "_id": "80Ey3vT8tOoKasdL4WSmVR"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -690,7 +690,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "8e55OmQuJIBYeXHoG9wTyk" "_id": "cfdPG7L1VJi5XF5TaYomyp"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
@ -752,7 +752,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "d9CzwxVqJA5btSqQ2zxAtr" "_id": "0ccJcWYaxEw6CAV6LDgwBF"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -782,7 +782,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "28BN/vYpdA75aVQgtJV85T" "_id": "a2z7GHvbBJtbeFFKuZMp8r"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
@ -844,7 +844,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "e1SVVBs6pDmI52ltKoFD6d" "_id": "f7EXG9BGNEv6AWXdMTqWbb"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -874,7 +874,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "025qCDItxA57ThVMG5sWtQ" "_id": "2aE+3035tDJqfns9wb+A8e"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
@ -917,7 +917,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
150, 0,
0, 0,
0, 0,
0, 0,
@ -939,7 +939,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "81cIITpURBEbMcOPB7cb6x" "_id": "2b4Sev3gxKqbyDuqgotK3s"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
@ -972,7 +972,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "08NYYNx61NF42Hhp8PMtsi" "_id": "cbby0qHztEJKoa9kkCSPhN"
}, },
{ {
"__type__": "cc.LabelOutline", "__type__": "cc.LabelOutline",
@ -990,7 +990,7 @@
"a": 255 "a": 255
}, },
"_width": 6, "_width": 6,
"_id": "caGnJok0NK/o3JsDAm2Z52" "_id": "9bWro31eJKybmJGCrePXSg"
}, },
{ {
"__type__": "9285eM4YhBJhL8+C569X294", "__type__": "9285eM4YhBJhL8+C569X294",
@ -1029,12 +1029,12 @@
}, },
"_collideBoxOpacity": 100, "_collideBoxOpacity": 100,
"_isCustomLabelActive": true, "_isCustomLabelActive": true,
"customComponentName": "Hero", "_customComponentName": "Hero",
"_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.shoe.attr.speed", "_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.shoe.attr.speed",
"_customLabelOffset": { "_customLabelOffset": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
"y": 150 "y": 0
}, },
"_customLabelColor": { "_customLabelColor": {
"__type__": "cc.Color", "__type__": "cc.Color",

View File

@ -87,8 +87,15 @@ export default class DataBoard extends cc.Component {
this._isCustomLabelActive = value; this._isCustomLabelActive = value;
this.customLabelNode.active = value; this.customLabelNode.active = value;
} }
@property
private _customComponentName: string = '';
@property({ displayName: CC_DEV && '······脚本', tooltip: CC_DEV && '监控哪个脚本', visible() { return this.isCustomLabelActive; } }) @property({ displayName: CC_DEV && '······脚本', tooltip: CC_DEV && '监控哪个脚本', visible() { return this.isCustomLabelActive; } })
private customComponentName: string = ''; private get customComponentName() { return this._customComponentName };
private set customComponentName(value: string) {
this._customComponentName = value;
value ||= this.node.name;
value && (this.monitorComp = this.node.getComponent(value));
}
@property @property
private _customLabelString: string = 'x,y'; private _customLabelString: string = 'x,y';
@property({ multiline: true, displayName: CC_DEV && '······参数', tooltip: CC_DEV && "—————支持的参数————\nwp世界坐标\nradian节点弧度单位π\nmatrix变换矩阵\n自身属性x,y,parent,children等\n脚本属性脚本实例对象的属性\n↓↓参数可以用3种分隔符隔开↓↓\n英文逗号、英文冒号、空格\n————举个栗子————\n脚本Hero\n参数wp,scale,angle,#angle,#hp\n显示结果\n世界坐标,节点scale,节点angleHero对象的angle,Hero对象的hp\n————温馨提示————\n初始化的时候设置全局变量\nwindow['DATABOARD'] = false\n可屏蔽本项目所有DataBoard不会产生任何额外开销", visible() { return this.isCustomLabelActive } }) @property({ multiline: true, displayName: CC_DEV && '······参数', tooltip: CC_DEV && "—————支持的参数————\nwp世界坐标\nradian节点弧度单位π\nmatrix变换矩阵\n自身属性x,y,parent,children等\n脚本属性脚本实例对象的属性\n↓↓参数可以用3种分隔符隔开↓↓\n英文逗号、英文冒号、空格\n————举个栗子————\n脚本Hero\n参数wp,scale,angle,#angle,#hp\n显示结果\n世界坐标,节点scale,节点angleHero对象的angle,Hero对象的hp\n————温馨提示————\n初始化的时候设置全局变量\nwindow['DATABOARD'] = false\n可屏蔽本项目所有DataBoard不会产生任何额外开销", visible() { return this.isCustomLabelActive } })
@ -96,7 +103,7 @@ export default class DataBoard extends cc.Component {
private set customLabelString(value: string) { private set customLabelString(value: string) {
this._customLabelString = value; this._customLabelString = value;
this.customLabelStringSplit = value this.customLabelStringSplit = value
.replace(/,|/g, '_~_').replace(/:|/g, '_!_').replace(/ /g, '_@_') .replace(/,/g, '_~_').replace(/:/g, '_!_').replace(/ /g, '_@_')
.replace(/_*\n_*/g, '_\n_').split('_'); .replace(/_*\n_*/g, '_\n_').split('_');
} }
@property @property
@ -143,21 +150,20 @@ export default class DataBoard extends cc.Component {
private monitorComp: cc.Component = null; private monitorComp: cc.Component = null;
protected start() { protected start() {
this.boardNode = this.node.getChildByName('DataBoard');
if (!CC_EDITOR && !window['DATABOARD']) { if (!CC_EDITOR && !window['DATABOARD']) {
this.destroy(); this.destroy();
return; return;
} }
this.boardNode = this.node.getChildByName('DataBoard');
if (cc.isValid(this.boardNode)) { if (cc.isValid(this.boardNode)) {
this.boardNode.removeFromParent();
this.boardNode.destroy(); this.boardNode.destroy();
this.boardNode.removeFromParent();
} }
let texture = new cc.Texture2D(); let texture = new cc.Texture2D();
texture.initWithData(new Uint8Array([255, 255, 255]), cc.Texture2D.PixelFormat.RGB888, 1, 1); texture.initWithData(new Uint8Array([255, 255, 255]), cc.Texture2D.PixelFormat.RGB888, 1, 1);
this.boardNode = new cc.Node('DataBoard'); this.boardNode = new cc.Node('DataBoard');
this.boardNode.setParent(this.node); this.boardNode.setParent(this.node);
this.boardNode.x = this.boardNode.y = 0;
this.boardNode.zIndex = cc.macro.MAX_ZINDEX; 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.boardNode['_objFlags'] |= cc.Object['Flags'].LockedInEditor;
@ -193,6 +199,7 @@ export default class DataBoard extends cc.Component {
this.customLabelNode.y = this.customLabelOffset.y; this.customLabelNode.y = this.customLabelOffset.y;
this.customLabelNode.color = this.customLabelColor; this.customLabelNode.color = this.customLabelColor;
this.customLabelSize = this._customLabelSize; this.customLabelSize = this._customLabelSize;
this.customComponentName = this._customComponentName;
this.updateAngle(); this.updateAngle();
this.updateScale(); this.updateScale();
@ -235,18 +242,8 @@ export default class DataBoard extends cc.Component {
protected update() { protected update() {
if (!this.isCustomLabelActive) return; if (!this.isCustomLabelActive) return;
if (!this.customLabelStringSplit) return; if (!this.customLabelStringSplit) return;
if (this.customLabelOffset.x !== 0 || this.customLabelOffset.y !== 0) {
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; let strs = this.customLabelStringSplit;
if (!this.monitorComp && this.customComponentName) { let str = '';
this.monitorComp = this.node.getComponent(this.customComponentName);
}
for (let i = 0, len = strs.length; i < len; ++i) { for (let i = 0, len = strs.length; i < len; ++i) {
let tmp = null; let tmp = null;
switch (strs[i]) { switch (strs[i]) {
@ -265,7 +262,7 @@ export default class DataBoard extends cc.Component {
tmp = ''; tmp = '';
for (let i = 0; i < 4; ++i) { for (let i = 0; i < 4; ++i) {
for (let j = 0; j < 4; ++j) { for (let j = 0; j < 4; ++j) {
let m = matrix[j * 4 + i]; let m = matrix[(j<<2) + i];
tmp += (m < 0 ? '\t\t' : '\t\t\t') + m.toFixed(this.customLabelDigit); tmp += (m < 0 ? '\t\t' : '\t\t\t') + m.toFixed(this.customLabelDigit);
} }
i !== 3 && (tmp += '\n'); i !== 3 && (tmp += '\n');
@ -303,11 +300,10 @@ export default class DataBoard extends cc.Component {
private parseString(str: string) { private parseString(str: string) {
let strs = str.split('.'); let strs = str.split('.');
let ret = this.monitorComp[strs[0]]; let ret = this.monitorComp[strs[0]] ?? `#${strs[0]}`;
ret === undefined && (ret = `#${strs[0]}`);
for (let i = 1, len = strs.length; i < len; ++i) { for (let i = 1, len = strs.length; i < len; ++i) {
if (ret[strs[i]] === undefined) { if (ret[strs[i]] === undefined) {
return `${ret.name ? ret.name : ret}.${strs[i]}`; return `${ret.name ?? ret}.${strs[i]}`;
} }
ret = ret[strs[i]]; ret = ret[strs[i]];
} }
@ -316,8 +312,8 @@ export default class DataBoard extends cc.Component {
protected onDestroy() { protected onDestroy() {
if (cc.isValid(this.boardNode)) { if (cc.isValid(this.boardNode)) {
this.boardNode.removeFromParent();
this.boardNode.destroy(); this.boardNode.destroy();
this.boardNode.removeFromParent();
} }
this.node.targetOff(this); this.node.targetOff(this);
} }

View File

@ -63,7 +63,7 @@ var DataBoard = /** @class */ (function (_super) {
_this._collideBoxColor = new cc.Color(Math.random() * 255, Math.random() * 255, Math.random() * 255); _this._collideBoxColor = new cc.Color(Math.random() * 255, Math.random() * 255, Math.random() * 255);
_this._collideBoxOpacity = 100; _this._collideBoxOpacity = 100;
_this._isCustomLabelActive = true; _this._isCustomLabelActive = true;
_this.customComponentName = ''; _this._customComponentName = '';
_this._customLabelString = 'x,y'; _this._customLabelString = 'x,y';
_this._customLabelOffset = cc.v2(0, 100); _this._customLabelOffset = cc.v2(0, 100);
_this._customLabelColor = new cc.Color(255, 255, 0); _this._customLabelColor = new cc.Color(255, 255, 0);
@ -149,12 +149,23 @@ var DataBoard = /** @class */ (function (_super) {
configurable: true configurable: true
}); });
; ;
Object.defineProperty(DataBoard.prototype, "customComponentName", {
get: function () { return this._customComponentName; },
set: function (value) {
this._customComponentName = value;
value || (value = this.node.name);
value && (this.monitorComp = this.node.getComponent(value));
},
enumerable: false,
configurable: true
});
;
Object.defineProperty(DataBoard.prototype, "customLabelString", { Object.defineProperty(DataBoard.prototype, "customLabelString", {
get: function () { return this._customLabelString; }, get: function () { return this._customLabelString; },
set: function (value) { set: function (value) {
this._customLabelString = value; this._customLabelString = value;
this.customLabelStringSplit = value this.customLabelStringSplit = value
.replace(/,|/g, '_~_').replace(/:|/g, '_!_').replace(/ /g, '_@_') .replace(/,/g, '_~_').replace(/:/g, '_!_').replace(/ /g, '_@_')
.replace(/_*\n_*/g, '_\n_').split('_'); .replace(/_*\n_*/g, '_\n_').split('_');
}, },
enumerable: false, enumerable: false,
@ -204,20 +215,19 @@ var DataBoard = /** @class */ (function (_super) {
}); });
; ;
DataBoard.prototype.start = function () { DataBoard.prototype.start = function () {
this.boardNode = this.node.getChildByName('DataBoard');
if (!CC_EDITOR && !window['DATABOARD']) { if (!CC_EDITOR && !window['DATABOARD']) {
this.destroy(); this.destroy();
return; return;
} }
this.boardNode = this.node.getChildByName('DataBoard');
if (cc.isValid(this.boardNode)) { if (cc.isValid(this.boardNode)) {
this.boardNode.removeFromParent();
this.boardNode.destroy(); this.boardNode.destroy();
this.boardNode.removeFromParent();
} }
var texture = new cc.Texture2D(); var texture = new cc.Texture2D();
texture.initWithData(new Uint8Array([255, 255, 255]), cc.Texture2D.PixelFormat.RGB888, 1, 1); texture.initWithData(new Uint8Array([255, 255, 255]), cc.Texture2D.PixelFormat.RGB888, 1, 1);
this.boardNode = new cc.Node('DataBoard'); this.boardNode = new cc.Node('DataBoard');
this.boardNode.setParent(this.node); this.boardNode.setParent(this.node);
this.boardNode.x = this.boardNode.y = 0;
this.boardNode.zIndex = cc.macro.MAX_ZINDEX; 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.boardNode['_objFlags'] |= cc.Object['Flags'].LockedInEditor;
@ -249,6 +259,7 @@ var DataBoard = /** @class */ (function (_super) {
this.customLabelNode.y = this.customLabelOffset.y; this.customLabelNode.y = this.customLabelOffset.y;
this.customLabelNode.color = this.customLabelColor; this.customLabelNode.color = this.customLabelColor;
this.customLabelSize = this._customLabelSize; this.customLabelSize = this._customLabelSize;
this.customComponentName = this._customComponentName;
this.updateAngle(); this.updateAngle();
this.updateScale(); this.updateScale();
this.updateAnchor(); this.updateAnchor();
@ -287,18 +298,8 @@ var DataBoard = /** @class */ (function (_super) {
return; return;
if (!this.customLabelStringSplit) if (!this.customLabelStringSplit)
return; return;
if (this.customLabelOffset.x !== 0 || this.customLabelOffset.y !== 0) {
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; var strs = this.customLabelStringSplit;
if (!this.monitorComp && this.customComponentName) { var str = '';
this.monitorComp = this.node.getComponent(this.customComponentName);
}
for (var i = 0, len = strs.length; i < len; ++i) { for (var i = 0, len = strs.length; i < len; ++i) {
var tmp = null; var tmp = null;
switch (strs[i]) { switch (strs[i]) {
@ -317,7 +318,7 @@ var DataBoard = /** @class */ (function (_super) {
tmp = ''; tmp = '';
for (var i_1 = 0; i_1 < 4; ++i_1) { for (var i_1 = 0; i_1 < 4; ++i_1) {
for (var j = 0; j < 4; ++j) { for (var j = 0; j < 4; ++j) {
var m = matrix[j * 4 + i_1]; var m = matrix[(j << 2) + i_1];
tmp += (m < 0 ? '\t\t' : '\t\t\t') + m.toFixed(this.customLabelDigit); tmp += (m < 0 ? '\t\t' : '\t\t\t') + m.toFixed(this.customLabelDigit);
} }
i_1 !== 3 && (tmp += '\n'); i_1 !== 3 && (tmp += '\n');
@ -362,12 +363,12 @@ var DataBoard = /** @class */ (function (_super) {
this.customLabel.string = str; this.customLabel.string = str;
}; };
DataBoard.prototype.parseString = function (str) { DataBoard.prototype.parseString = function (str) {
var _a, _b;
var strs = str.split('.'); var strs = str.split('.');
var ret = this.monitorComp[strs[0]]; var ret = (_a = this.monitorComp[strs[0]]) !== null && _a !== void 0 ? _a : "#" + strs[0];
ret === undefined && (ret = "#" + strs[0]);
for (var i = 1, len = strs.length; i < len; ++i) { for (var i = 1, len = strs.length; i < len; ++i) {
if (ret[strs[i]] === undefined) { if (ret[strs[i]] === undefined) {
return (ret.name ? ret.name : ret) + "." + strs[i]; return ((_b = ret.name) !== null && _b !== void 0 ? _b : ret) + "." + strs[i];
} }
ret = ret[strs[i]]; ret = ret[strs[i]];
} }
@ -375,8 +376,8 @@ var DataBoard = /** @class */ (function (_super) {
}; };
DataBoard.prototype.onDestroy = function () { DataBoard.prototype.onDestroy = function () {
if (cc.isValid(this.boardNode)) { if (cc.isValid(this.boardNode)) {
this.boardNode.removeFromParent();
this.boardNode.destroy(); this.boardNode.destroy();
this.boardNode.removeFromParent();
} }
this.node.targetOff(this); this.node.targetOff(this);
}; };
@ -422,9 +423,12 @@ var DataBoard = /** @class */ (function (_super) {
__decorate([ __decorate([
property({ displayName: CC_DEV && '自定义参数', tooltip: CC_DEV && '配置显示的属性内容' }) property({ displayName: CC_DEV && '自定义参数', tooltip: CC_DEV && '配置显示的属性内容' })
], DataBoard.prototype, "isCustomLabelActive", null); ], DataBoard.prototype, "isCustomLabelActive", null);
__decorate([
property
], DataBoard.prototype, "_customComponentName", void 0);
__decorate([ __decorate([
property({ displayName: CC_DEV && '······脚本', tooltip: CC_DEV && '监控哪个脚本', visible: function () { return this.isCustomLabelActive; } }) property({ displayName: CC_DEV && '······脚本', tooltip: CC_DEV && '监控哪个脚本', visible: function () { return this.isCustomLabelActive; } })
], DataBoard.prototype, "customComponentName", void 0); ], DataBoard.prototype, "customComponentName", null);
__decorate([ __decorate([
property property
], DataBoard.prototype, "_customLabelString", void 0); ], DataBoard.prototype, "_customLabelString", void 0);

File diff suppressed because one or more lines are too long

View File

@ -599,7 +599,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "3d8RDqQvVEfJkF7nWvrxTE" "_id": "76KDntjjFLVKmtFHxYwrV6"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
@ -661,7 +661,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "c3XyfYRgRPB5iyAa58aSsW" "_id": "80Ey3vT8tOoKasdL4WSmVR"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -691,7 +691,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "8e55OmQuJIBYeXHoG9wTyk" "_id": "cfdPG7L1VJi5XF5TaYomyp"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
@ -753,7 +753,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "d9CzwxVqJA5btSqQ2zxAtr" "_id": "0ccJcWYaxEw6CAV6LDgwBF"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -783,7 +783,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "28BN/vYpdA75aVQgtJV85T" "_id": "a2z7GHvbBJtbeFFKuZMp8r"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
@ -845,7 +845,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "e1SVVBs6pDmI52ltKoFD6d" "_id": "f7EXG9BGNEv6AWXdMTqWbb"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -875,7 +875,7 @@
"_fillRange": 0, "_fillRange": 0,
"_isTrimmedMode": true, "_isTrimmedMode": true,
"_atlas": null, "_atlas": null,
"_id": "025qCDItxA57ThVMG5sWtQ" "_id": "2aE+3035tDJqfns9wb+A8e"
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
@ -918,7 +918,7 @@
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, 0,
150, 0,
0, 0,
0, 0,
0, 0,
@ -940,7 +940,7 @@
"_is3DNode": false, "_is3DNode": false,
"_groupIndex": 0, "_groupIndex": 0,
"groupIndex": 0, "groupIndex": 0,
"_id": "81cIITpURBEbMcOPB7cb6x" "_id": "2b4Sev3gxKqbyDuqgotK3s"
}, },
{ {
"__type__": "cc.Label", "__type__": "cc.Label",
@ -973,7 +973,7 @@
"_N$fontFamily": "Arial", "_N$fontFamily": "Arial",
"_N$overflow": 0, "_N$overflow": 0,
"_N$cacheMode": 0, "_N$cacheMode": 0,
"_id": "08NYYNx61NF42Hhp8PMtsi" "_id": "cbby0qHztEJKoa9kkCSPhN"
}, },
{ {
"__type__": "cc.LabelOutline", "__type__": "cc.LabelOutline",
@ -991,7 +991,7 @@
"a": 255 "a": 255
}, },
"_width": 6, "_width": 6,
"_id": "caGnJok0NK/o3JsDAm2Z52" "_id": "9bWro31eJKybmJGCrePXSg"
}, },
{ {
"__type__": "9285eM4YhBJhL8+C569X294", "__type__": "9285eM4YhBJhL8+C569X294",
@ -1030,12 +1030,12 @@
}, },
"_collideBoxOpacity": 100, "_collideBoxOpacity": 100,
"_isCustomLabelActive": true, "_isCustomLabelActive": true,
"customComponentName": "Hero", "_customComponentName": "Hero",
"_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.shoe.attr.speed", "_customLabelString": "坐标:x,y\n角度:angle,弧度:radian\n世界坐标:wp\nhp:#hp mp:#mp\n#equip.shoe.attr.speed",
"_customLabelOffset": { "_customLabelOffset": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 0, "x": 0,
"y": 150 "y": 0
}, },
"_customLabelColor": { "_customLabelColor": {
"__type__": "cc.Color", "__type__": "cc.Color",

View File

@ -1,547 +1,547 @@
{ {
"9836134e-b892-4283-b6b2-78b5acf3ed45": { "9836134e-b892-4283-b6b2-78b5acf3ed45": {
"asset": 1682398123032, "asset": 1696211512135,
"meta": 1685194618505, "meta": 1701586361317,
"relativePath": "effects" "relativePath": "effects"
}, },
"f8e6b000-5643-4b86-9080-aa680ce1f599": { "f8e6b000-5643-4b86-9080-aa680ce1f599": {
"asset": 1682398123088, "asset": 1696211512208,
"meta": 1685194618506, "meta": 1701586361319,
"relativePath": "image" "relativePath": "image"
}, },
"5c3eedba-6c41-4c0c-9ba7-d91f813cbd1c": { "5c3eedba-6c41-4c0c-9ba7-d91f813cbd1c": {
"asset": 1682398123097, "asset": 1696211512213,
"meta": 1685194618507, "meta": 1701586361321,
"relativePath": "materials" "relativePath": "materials"
}, },
"fc09f9bd-2cce-4605-b630-8145ef809ed6": { "fc09f9bd-2cce-4605-b630-8145ef809ed6": {
"asset": 1682398123103, "asset": 1696211512226,
"meta": 1685194618508, "meta": 1701586361322,
"relativePath": "misc" "relativePath": "misc"
}, },
"db019bf7-f71c-4111-98cf-918ea180cb48": { "db019bf7-f71c-4111-98cf-918ea180cb48": {
"asset": 1682398123140, "asset": 1696211512260,
"meta": 1685194618509, "meta": 1701586361324,
"relativePath": "model" "relativePath": "model"
}, },
"f6e6dd15-71d1-4ffe-ace7-24fd39942c05": { "f6e6dd15-71d1-4ffe-ace7-24fd39942c05": {
"asset": 1682398123149, "asset": 1696211512270,
"meta": 1685194618512, "meta": 1701586361327,
"relativePath": "obsolete" "relativePath": "obsolete"
}, },
"f743d2b6-b7ea-4c14-a55b-547ed4d0a045": { "f743d2b6-b7ea-4c14-a55b-547ed4d0a045": {
"asset": 1682398123155, "asset": 1696211512278,
"meta": 1685194618514, "meta": 1701586361330,
"relativePath": "particle" "relativePath": "particle"
}, },
"ae6c6c98-11e4-452f-8758-75f5c6a56e83": { "ae6c6c98-11e4-452f-8758-75f5c6a56e83": {
"asset": 1682398123246, "asset": 1696211512374,
"meta": 1685194618515, "meta": 1701586361332,
"relativePath": "prefab" "relativePath": "prefab"
}, },
"d8afc78c-4eac-4a9f-83dd-67bc70344d33": { "d8afc78c-4eac-4a9f-83dd-67bc70344d33": {
"asset": 1682398123288, "asset": 1696211512408,
"meta": 1685194618517, "meta": 1701586361335,
"relativePath": "resources" "relativePath": "resources"
}, },
"abc2cb62-7852-4525-a90d-d474487b88f2": { "abc2cb62-7852-4525-a90d-d474487b88f2": {
"asset": 1672392280858, "asset": 1696211512118,
"meta": 1685194618699, "meta": 1701586361602,
"relativePath": "effects\\builtin-phong.effect" "relativePath": "effects\\builtin-phong.effect"
}, },
"e2f00085-c597-422d-9759-52c360279106": { "e2f00085-c597-422d-9759-52c360279106": {
"asset": 1672392280859, "asset": 1696211512123,
"meta": 1685194618797, "meta": 1701586361700,
"relativePath": "effects\\builtin-toon.effect" "relativePath": "effects\\builtin-toon.effect"
}, },
"430eccbf-bf2c-4e6e-8c0c-884bbb487f32": { "430eccbf-bf2c-4e6e-8c0c-884bbb487f32": {
"asset": 1672392280854, "asset": 1696211512129,
"meta": 1685194618819, "meta": 1701586361727,
"relativePath": "effects\\__builtin-editor-gizmo-line.effect" "relativePath": "effects\\__builtin-editor-gizmo-line.effect"
}, },
"6c5cf6e1-b044-4eac-9431-835644d57381": { "6c5cf6e1-b044-4eac-9431-835644d57381": {
"asset": 1672392280855, "asset": 1696211512132,
"meta": 1685194618832, "meta": 1701586361742,
"relativePath": "effects\\__builtin-editor-gizmo-unlit.effect" "relativePath": "effects\\__builtin-editor-gizmo-unlit.effect"
}, },
"115286d1-2e10-49ee-aab4-341583f607e8": { "115286d1-2e10-49ee-aab4-341583f607e8": {
"asset": 1672392280856, "asset": 1696211512134,
"meta": 1685194618873, "meta": 1701586361800,
"relativePath": "effects\\__builtin-editor-gizmo.effect" "relativePath": "effects\\__builtin-editor-gizmo.effect"
}, },
"71561142-4c83-4933-afca-cb7a17f67053": { "71561142-4c83-4933-afca-cb7a17f67053": {
"asset": 1672392280889, "asset": 1696211512145,
"meta": 1685194618916, "meta": 1701586361863,
"relativePath": "image\\default_btn_disabled.png" "relativePath": "image\\default_btn_disabled.png"
}, },
"b43ff3c2-02bb-4874-81f7-f2dea6970f18": { "b43ff3c2-02bb-4874-81f7-f2dea6970f18": {
"asset": 1672392280892, "asset": 1696211512151,
"meta": 1685194618932, "meta": 1701586361868,
"relativePath": "image\\default_btn_pressed.png" "relativePath": "image\\default_btn_pressed.png"
}, },
"e851e89b-faa2-4484-bea6-5c01dd9f06e2": { "e851e89b-faa2-4484-bea6-5c01dd9f06e2": {
"asset": 1672392280891, "asset": 1696211512148,
"meta": 1685194618916, "meta": 1701586361882,
"relativePath": "image\\default_btn_normal.png" "relativePath": "image\\default_btn_normal.png"
}, },
"d81ec8ad-247c-4e62-aa3c-d35c4193c7af": { "d81ec8ad-247c-4e62-aa3c-d35c4193c7af": {
"asset": 1672392280895, "asset": 1696211512156,
"meta": 1685194618936, "meta": 1701586361875,
"relativePath": "image\\default_panel.png" "relativePath": "image\\default_panel.png"
}, },
"edd215b9-2796-4a05-aaf5-81f96c9281ce": { "edd215b9-2796-4a05-aaf5-81f96c9281ce": {
"asset": 1672392280894, "asset": 1696211512154,
"meta": 1685194618916, "meta": 1701586361872,
"relativePath": "image\\default_editbox_bg.png" "relativePath": "image\\default_editbox_bg.png"
}, },
"600301aa-3357-4a10-b086-84f011fa32ba": { "600301aa-3357-4a10-b086-84f011fa32ba": {
"asset": 1672392280916, "asset": 1696211512140,
"meta": 1685194618936, "meta": 1701586361884,
"relativePath": "image\\default-particle.png" "relativePath": "image\\default-particle.png"
}, },
"cfef78f1-c8df-49b7-8ed0-4c953ace2621": { "cfef78f1-c8df-49b7-8ed0-4c953ace2621": {
"asset": 1672392280899, "asset": 1696211512162,
"meta": 1685194618916, "meta": 1701586361887,
"relativePath": "image\\default_progressbar.png" "relativePath": "image\\default_progressbar.png"
}, },
"99170b0b-d210-46f1-b213-7d9e3f23098a": { "99170b0b-d210-46f1-b213-7d9e3f23098a": {
"asset": 1672392280896, "asset": 1696211512165,
"meta": 1685194618916, "meta": 1701586361880,
"relativePath": "image\\default_progressbar_bg.png" "relativePath": "image\\default_progressbar_bg.png"
}, },
"9d60001f-b5f4-4726-a629-2659e3ded0b8": { "9d60001f-b5f4-4726-a629-2659e3ded0b8": {
"asset": 1672392280901, "asset": 1696211512171,
"meta": 1685194618952, "meta": 1701586361918,
"relativePath": "image\\default_radio_button_on.png" "relativePath": "image\\default_radio_button_on.png"
}, },
"0275e94c-56a7-410f-bd1a-fc7483f7d14a": { "0275e94c-56a7-410f-bd1a-fc7483f7d14a": {
"asset": 1672392280908, "asset": 1696211512194,
"meta": 1685194618968, "meta": 1701586361936,
"relativePath": "image\\default_sprite_splash.png" "relativePath": "image\\default_sprite_splash.png"
}, },
"0291c134-b3da-4098-b7b5-e397edbe947f": { "0291c134-b3da-4098-b7b5-e397edbe947f": {
"asset": 1672392280907, "asset": 1696211512174,
"meta": 1685194618968, "meta": 1701586361908,
"relativePath": "image\\default_scrollbar.png" "relativePath": "image\\default_scrollbar.png"
}, },
"4bab67cb-18e6-4099-b840-355f0473f890": { "4bab67cb-18e6-4099-b840-355f0473f890": {
"asset": 1672392280903, "asset": 1696211512180,
"meta": 1685194618968, "meta": 1701586361930,
"relativePath": "image\\default_scrollbar_bg.png" "relativePath": "image\\default_scrollbar_bg.png"
}, },
"e39e96e6-6f6e-413f-bcf1-ac7679bb648a": { "e39e96e6-6f6e-413f-bcf1-ac7679bb648a": {
"asset": 1682398123135, "asset": 1696211512255,
"meta": 1685194618968, "meta": 1701586361938,
"relativePath": "model\\prefab" "relativePath": "model\\prefab"
}, },
"567dcd80-8bf4-4535-8a5a-313f1caf078a": { "567dcd80-8bf4-4535-8a5a-313f1caf078a": {
"asset": 1672392280900, "asset": 1696211512168,
"meta": 1685194618968, "meta": 1701586361922,
"relativePath": "image\\default_radio_button_off.png" "relativePath": "image\\default_radio_button_off.png"
}, },
"d6d3ca85-4681-47c1-b5dd-d036a9d39ea2": { "d6d3ca85-4681-47c1-b5dd-d036a9d39ea2": {
"asset": 1672392280906, "asset": 1696211512182,
"meta": 1685194618968, "meta": 1701586361934,
"relativePath": "image\\default_scrollbar_vertical.png" "relativePath": "image\\default_scrollbar_vertical.png"
}, },
"c4480a0a-6ac5-443f-8b40-361a14257fc8": { "c4480a0a-6ac5-443f-8b40-361a14257fc8": {
"asset": 1672392280920, "asset": 1696211512212,
"meta": 1685194619554, "meta": 1701586362653,
"relativePath": "materials\\builtin-phong.mtl" "relativePath": "materials\\builtin-phong.mtl"
}, },
"617323dd-11f4-4dd3-8eec-0caf6b3b45b9": { "617323dd-11f4-4dd3-8eec-0caf6b3b45b9": {
"asset": 1672392280904, "asset": 1696211512187,
"meta": 1685194618968, "meta": 1701586361927,
"relativePath": "image\\default_scrollbar_vertical_bg.png" "relativePath": "image\\default_scrollbar_vertical_bg.png"
}, },
"6e056173-d285-473c-b206-40a7fff5386e": { "6e056173-d285-473c-b206-40a7fff5386e": {
"asset": 1672392280910, "asset": 1696211512190,
"meta": 1685194618983, "meta": 1701586361941,
"relativePath": "image\\default_sprite.png" "relativePath": "image\\default_sprite.png"
}, },
"73a0903d-d80e-4e3c-aa67-f999543c08f5": { "73a0903d-d80e-4e3c-aa67-f999543c08f5": {
"asset": 1672392280911, "asset": 1696211512196,
"meta": 1685194619033, "meta": 1701586362005,
"relativePath": "image\\default_toggle_checkmark.png" "relativePath": "image\\default_toggle_checkmark.png"
}, },
"b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd": { "b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd": {
"asset": 1672392280915, "asset": 1696211512206,
"meta": 1685194619040, "meta": 1701586362014,
"relativePath": "image\\default_toggle_pressed.png" "relativePath": "image\\default_toggle_pressed.png"
}, },
"c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f": { "c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f": {
"asset": 1672392280913, "asset": 1696211512198,
"meta": 1685194619037, "meta": 1701586362009,
"relativePath": "image\\default_toggle_disabled.png" "relativePath": "image\\default_toggle_disabled.png"
}, },
"2be36297-9abb-4fee-8049-9ed5e271da8a": { "2be36297-9abb-4fee-8049-9ed5e271da8a": {
"asset": 1672392280924, "asset": 1696211512222,
"meta": 1685194619045, "meta": 1701586362019,
"relativePath": "misc\\default_video.mp4" "relativePath": "misc\\default_video.mp4"
}, },
"d29077ba-1627-4a72-9579-7b56a235340c": { "d29077ba-1627-4a72-9579-7b56a235340c": {
"asset": 1672392280914, "asset": 1696211512202,
"meta": 1685194619043, "meta": 1701586362012,
"relativePath": "image\\default_toggle_normal.png" "relativePath": "image\\default_toggle_normal.png"
}, },
"897ef7a1-4860-4f64-968d-f5924b18668a": { "897ef7a1-4860-4f64-968d-f5924b18668a": {
"asset": 1672392281012, "asset": 1696211512282,
"meta": 1685194619057, "meta": 1701586362025,
"relativePath": "prefab\\2d-camera.prefab" "relativePath": "prefab\\2d-camera.prefab"
}, },
"8a96b965-2dc0-4e03-aa90-3b79cb93b5b4": { "8a96b965-2dc0-4e03-aa90-3b79cb93b5b4": {
"asset": 1672392280966, "asset": 1696211512268,
"meta": 1685194619052, "meta": 1701586362037,
"relativePath": "obsolete\\atom.png" "relativePath": "obsolete\\atom.png"
}, },
"70d7cdb0-04cd-41bb-9480-c06a4785f386": { "70d7cdb0-04cd-41bb-9480-c06a4785f386": {
"asset": 1672392281013, "asset": 1696211512286,
"meta": 1685194619062, "meta": 1701586362027,
"relativePath": "prefab\\3d-camera.prefab" "relativePath": "prefab\\3d-camera.prefab"
}, },
"ed88f13d-fcad-4848-aa35-65a2cb973584": { "ed88f13d-fcad-4848-aa35-65a2cb973584": {
"asset": 1672392281016, "asset": 1696211512291,
"meta": 1685194619066, "meta": 1701586362040,
"relativePath": "prefab\\3d-stage.prefab" "relativePath": "prefab\\3d-stage.prefab"
}, },
"a3ee0214-b432-4865-9666-4a3211814282": { "a3ee0214-b432-4865-9666-4a3211814282": {
"asset": 1682398123199, "asset": 1696211512329,
"meta": 1685194619070, "meta": 1701586362042,
"relativePath": "prefab\\light" "relativePath": "prefab\\light"
}, },
"d0a82d39-bede-46c4-b698-c81ff0dedfff": { "d0a82d39-bede-46c4-b698-c81ff0dedfff": {
"asset": 1672392280972, "asset": 1696211512276,
"meta": 1685194619068, "meta": 1701586362044,
"relativePath": "particle\\atom.png" "relativePath": "particle\\atom.png"
}, },
"70bbeb73-6dc2-4ee4-8faf-76b3a0e34ec4": { "70bbeb73-6dc2-4ee4-8faf-76b3a0e34ec4": {
"asset": 1672392281015, "asset": 1696211512289,
"meta": 1685194619073, "meta": 1701586362032,
"relativePath": "prefab\\3d-particle.prefab" "relativePath": "prefab\\3d-particle.prefab"
}, },
"972b9a4d-47ee-4c74-b5c3-61d8a69bc29f": { "972b9a4d-47ee-4c74-b5c3-61d8a69bc29f": {
"asset": 1672392281017, "asset": 1696211512295,
"meta": 1685194619076, "meta": 1701586362048,
"relativePath": "prefab\\button.prefab" "relativePath": "prefab\\button.prefab"
}, },
"2c937608-2562-40ea-b264-7395df6f0cea": { "2c937608-2562-40ea-b264-7395df6f0cea": {
"asset": 1672392281019, "asset": 1696211512297,
"meta": 1685194619083, "meta": 1701586362053,
"relativePath": "prefab\\canvas.prefab" "relativePath": "prefab\\canvas.prefab"
}, },
"61aeb05b-3b32-452b-8eed-2b76deeed554": { "61aeb05b-3b32-452b-8eed-2b76deeed554": {
"asset": 1672392281020, "asset": 1696211512304,
"meta": 1685194619100, "meta": 1701586362056,
"relativePath": "prefab\\editbox.prefab" "relativePath": "prefab\\editbox.prefab"
}, },
"27756ebb-3d33-44b0-9b96-e858fadd4dd4": { "27756ebb-3d33-44b0-9b96-e858fadd4dd4": {
"asset": 1672392281021, "asset": 1696211512306,
"meta": 1685194619105, "meta": 1701586362059,
"relativePath": "prefab\\label.prefab" "relativePath": "prefab\\label.prefab"
}, },
"785a442c-3ceb-45be-a46e-7317f625f3b9": { "785a442c-3ceb-45be-a46e-7317f625f3b9": {
"asset": 1672392281023, "asset": 1696211512310,
"meta": 1685194619108, "meta": 1701586362062,
"relativePath": "prefab\\layout.prefab" "relativePath": "prefab\\layout.prefab"
}, },
"ca8401fe-ad6e-41a8-bd46-8e3e4e9945be": { "ca8401fe-ad6e-41a8-bd46-8e3e4e9945be": {
"asset": 1672392281036, "asset": 1696211512331,
"meta": 1685194619115, "meta": 1701586362066,
"relativePath": "prefab\\pageview.prefab" "relativePath": "prefab\\pageview.prefab"
}, },
"cd33edea-55f5-46c2-958d-357a01384a36": { "cd33edea-55f5-46c2-958d-357a01384a36": {
"asset": 1672392281037, "asset": 1696211512335,
"meta": 1685194619112, "meta": 1701586362070,
"relativePath": "prefab\\particlesystem.prefab" "relativePath": "prefab\\particlesystem.prefab"
}, },
"5965ffac-69da-4b55-bcde-9225d0613c28": { "5965ffac-69da-4b55-bcde-9225d0613c28": {
"asset": 1672392281038, "asset": 1696211512336,
"meta": 1685194619119, "meta": 1701586362075,
"relativePath": "prefab\\progressBar.prefab" "relativePath": "prefab\\progressBar.prefab"
}, },
"4a37dd57-78cd-4cec-aad4-f11a73d12b63": { "4a37dd57-78cd-4cec-aad4-f11a73d12b63": {
"asset": 1672392281040, "asset": 1696211512339,
"meta": 1685194619123, "meta": 1701586362082,
"relativePath": "prefab\\richtext.prefab" "relativePath": "prefab\\richtext.prefab"
}, },
"32044bd2-481f-4cf1-a656-e2b2fb1594eb": { "32044bd2-481f-4cf1-a656-e2b2fb1594eb": {
"asset": 1672392281041, "asset": 1696211512342,
"meta": 1685194619137, "meta": 1701586362092,
"relativePath": "prefab\\scrollview.prefab" "relativePath": "prefab\\scrollview.prefab"
}, },
"0004d1cf-a0ad-47d8-ab17-34d3db9d35a3": { "0004d1cf-a0ad-47d8-ab17-34d3db9d35a3": {
"asset": 1672392281042, "asset": 1696211512345,
"meta": 1685194619141, "meta": 1701586362089,
"relativePath": "prefab\\slider.prefab" "relativePath": "prefab\\slider.prefab"
}, },
"96083d03-c332-4a3f-9386-d03e2d19e8ee": { "96083d03-c332-4a3f-9386-d03e2d19e8ee": {
"asset": 1672392281045, "asset": 1696211512349,
"meta": 1685194619144, "meta": 1701586362078,
"relativePath": "prefab\\sprite.prefab" "relativePath": "prefab\\sprite.prefab"
}, },
"1f55e3be-b89b-4b79-88de-47fd31018044": { "1f55e3be-b89b-4b79-88de-47fd31018044": {
"asset": 1672392281044, "asset": 1696211512352,
"meta": 1685194619148, "meta": 1701586362087,
"relativePath": "prefab\\sprite_splash.prefab" "relativePath": "prefab\\sprite_splash.prefab"
}, },
"7de03a80-4457-438d-95a7-3e7cdffd6086": { "7de03a80-4457-438d-95a7-3e7cdffd6086": {
"asset": 1672392281046, "asset": 1696211512355,
"meta": 1685194619150, "meta": 1701586362097,
"relativePath": "prefab\\tiledmap.prefab" "relativePath": "prefab\\tiledmap.prefab"
}, },
"294c1663-4adf-4a1e-a795-53808011a38a": { "294c1663-4adf-4a1e-a795-53808011a38a": {
"asset": 1682398123285, "asset": 1696211512406,
"meta": 1685194619152, "meta": 1701586362100,
"relativePath": "resources\\effects" "relativePath": "resources\\effects"
}, },
"0e42ba95-1fa1-46aa-b2cf-143cd1bcee2c": { "0e42ba95-1fa1-46aa-b2cf-143cd1bcee2c": {
"asset": 1672392281048, "asset": 1696211512358,
"meta": 1685194619154, "meta": 1701586362106,
"relativePath": "prefab\\tiledtile.prefab" "relativePath": "prefab\\tiledtile.prefab"
}, },
"bbee2217-c261-49bd-a8ce-708d6bcc3500": { "bbee2217-c261-49bd-a8ce-708d6bcc3500": {
"asset": 1682398123322, "asset": 1696211512442,
"meta": 1685194619156, "meta": 1701586362102,
"relativePath": "resources\\materials" "relativePath": "resources\\materials"
}, },
"0d784963-d024-4ea6-a7db-03be0ad63010": { "0d784963-d024-4ea6-a7db-03be0ad63010": {
"asset": 1672392281049, "asset": 1696211512360,
"meta": 1685194619161, "meta": 1701586362109,
"relativePath": "prefab\\toggle.prefab" "relativePath": "prefab\\toggle.prefab"
}, },
"bf0a434c-84dd-4a8e-a08a-7a36f180cc75": { "bf0a434c-84dd-4a8e-a08a-7a36f180cc75": {
"asset": 1672392281051, "asset": 1696211512363,
"meta": 1685194619175, "meta": 1701586362113,
"relativePath": "prefab\\toggleContainer.prefab" "relativePath": "prefab\\toggleContainer.prefab"
}, },
"d1b8be49-b0a0-435c-83b7-552bed4bbe35": { "d1b8be49-b0a0-435c-83b7-552bed4bbe35": {
"asset": 1672392281052, "asset": 1696211512367,
"meta": 1685194619180, "meta": 1701586362120,
"relativePath": "prefab\\toggleGroup.prefab" "relativePath": "prefab\\toggleGroup.prefab"
}, },
"232d2782-c4bd-4bb4-9e01-909f03d6d3b9": { "232d2782-c4bd-4bb4-9e01-909f03d6d3b9": {
"asset": 1672392281053, "asset": 1696211512369,
"meta": 1685194619182, "meta": 1701586362117,
"relativePath": "prefab\\videoplayer.prefab" "relativePath": "prefab\\videoplayer.prefab"
}, },
"8c5001fd-07ee-4a4b-a8a0-63e15195e94d": { "8c5001fd-07ee-4a4b-a8a0-63e15195e94d": {
"asset": 1672392281055, "asset": 1696211512373,
"meta": 1685194619183, "meta": 1701586362123,
"relativePath": "prefab\\webview.prefab" "relativePath": "prefab\\webview.prefab"
}, },
"a87cc147-01b2-43f8-8e42-a7ca90b0c757": { "a87cc147-01b2-43f8-8e42-a7ca90b0c757": {
"asset": 1672392280949, "asset": 1696211512233,
"meta": 1685194619183, "meta": 1701586362127,
"relativePath": "model\\prefab\\box.prefab" "relativePath": "model\\prefab\\box.prefab"
}, },
"fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a": { "fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a": {
"asset": 1672392280951, "asset": 1696211512235,
"meta": 1685194619183, "meta": 1701586362135,
"relativePath": "model\\prefab\\capsule.prefab" "relativePath": "model\\prefab\\capsule.prefab"
}, },
"b5fc2cf2-7942-483d-be1f-bbeadc4714ad": { "b5fc2cf2-7942-483d-be1f-bbeadc4714ad": {
"asset": 1672392280952, "asset": 1696211512238,
"meta": 1685194619183, "meta": 1701586362130,
"relativePath": "model\\prefab\\cone.prefab" "relativePath": "model\\prefab\\cone.prefab"
}, },
"1c5e4038-953a-44c2-b620-0bbfc6170477": { "1c5e4038-953a-44c2-b620-0bbfc6170477": {
"asset": 1672392280953, "asset": 1696211512241,
"meta": 1685194619199, "meta": 1701586362138,
"relativePath": "model\\prefab\\cylinder.prefab" "relativePath": "model\\prefab\\cylinder.prefab"
}, },
"3f376125-a699-40ca-ad05-04d662eaa1f2": { "3f376125-a699-40ca-ad05-04d662eaa1f2": {
"asset": 1672392280955, "asset": 1696211512243,
"meta": 1685194619212, "meta": 1701586362166,
"relativePath": "model\\prefab\\plane.prefab" "relativePath": "model\\prefab\\plane.prefab"
}, },
"6c9ef10d-b479-420b-bfe6-39cdda6a8ae0": { "6c9ef10d-b479-420b-bfe6-39cdda6a8ae0": {
"asset": 1672392280956, "asset": 1696211512244,
"meta": 1685194619238, "meta": 1701586362145,
"relativePath": "model\\prefab\\quad.prefab" "relativePath": "model\\prefab\\quad.prefab"
}, },
"30682f87-9f0d-4f17-8a44-72863791461b": { "30682f87-9f0d-4f17-8a44-72863791461b": {
"asset": 1672392281098, "asset": 1696211512381,
"meta": 1685194619229, "meta": 1701586362164,
"relativePath": "resources\\effects\\builtin-2d-graphics.effect" "relativePath": "resources\\effects\\builtin-2d-graphics.effect"
}, },
"144c3297-af63-49e8-b8ef-1cfa29b3be28": { "144c3297-af63-49e8-b8ef-1cfa29b3be28": {
"asset": 1672392281099, "asset": 1696211512383,
"meta": 1685194619238, "meta": 1701586362183,
"relativePath": "resources\\effects\\builtin-2d-gray-sprite.effect" "relativePath": "resources\\effects\\builtin-2d-gray-sprite.effect"
}, },
"de510076-056b-484f-b94c-83bef217d0e1": { "de510076-056b-484f-b94c-83bef217d0e1": {
"asset": 1672392280959, "asset": 1696211512254,
"meta": 1685194619229, "meta": 1701586362384,
"relativePath": "model\\prefab\\torus.prefab" "relativePath": "model\\prefab\\torus.prefab"
}, },
"f18742d7-56d2-4eb5-ae49-2d9d710b37c8": { "f18742d7-56d2-4eb5-ae49-2d9d710b37c8": {
"asset": 1672392281101, "asset": 1696211512386,
"meta": 1685194619253, "meta": 1701586362200,
"relativePath": "resources\\effects\\builtin-2d-label.effect" "relativePath": "resources\\effects\\builtin-2d-label.effect"
}, },
"2d9a4b85-b0ab-4c46-84c5-18f393ab2058": { "2d9a4b85-b0ab-4c46-84c5-18f393ab2058": {
"asset": 1672392280957, "asset": 1696211512248,
"meta": 1685194619206, "meta": 1701586362142,
"relativePath": "model\\prefab\\sphere.prefab" "relativePath": "model\\prefab\\sphere.prefab"
}, },
"0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7": { "0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7": {
"asset": 1672392281102, "asset": 1696211512390,
"meta": 1685194619269, "meta": 1701586362216,
"relativePath": "resources\\effects\\builtin-2d-spine.effect" "relativePath": "resources\\effects\\builtin-2d-spine.effect"
}, },
"2874f8dd-416c-4440-81b7-555975426e93": { "2874f8dd-416c-4440-81b7-555975426e93": {
"asset": 1672392281103, "asset": 1696211512392,
"meta": 1685194619284, "meta": 1701586362238,
"relativePath": "resources\\effects\\builtin-2d-sprite.effect" "relativePath": "resources\\effects\\builtin-2d-sprite.effect"
}, },
"829a282c-b049-4019-bd38-5ace8d8a6417": { "829a282c-b049-4019-bd38-5ace8d8a6417": {
"asset": 1672392281105, "asset": 1696211512395,
"meta": 1685194619385, "meta": 1701586362340,
"relativePath": "resources\\effects\\builtin-3d-particle.effect" "relativePath": "resources\\effects\\builtin-3d-particle.effect"
}, },
"2a7c0036-e0b3-4fe1-8998-89a54b8a2bec": { "2a7c0036-e0b3-4fe1-8998-89a54b8a2bec": {
"asset": 1672392281106, "asset": 1696211512400,
"meta": 1685194619432, "meta": 1701586362381,
"relativePath": "resources\\effects\\builtin-3d-trail.effect" "relativePath": "resources\\effects\\builtin-3d-trail.effect"
}, },
"61906da3-7003-4bda-9abc-5769c76faee4": { "61906da3-7003-4bda-9abc-5769c76faee4": {
"asset": 1672392281030, "asset": 1696211512319,
"meta": 1685194619402, "meta": 1701586362343,
"relativePath": "prefab\\light\\ambient.prefab" "relativePath": "prefab\\light\\ambient.prefab"
}, },
"c0040c95-c57f-49cd-9cbc-12316b73d0d4": { "c0040c95-c57f-49cd-9cbc-12316b73d0d4": {
"asset": 1672392281107, "asset": 1696211512402,
"meta": 1685194619438, "meta": 1701586362401,
"relativePath": "resources\\effects\\builtin-clear-stencil.effect" "relativePath": "resources\\effects\\builtin-clear-stencil.effect"
}, },
"6d91e591-4ce0-465c-809f-610ec95019c6": { "6d91e591-4ce0-465c-809f-610ec95019c6": {
"asset": 1672392281109, "asset": 1696211512405,
"meta": 1685194619469, "meta": 1701586362434,
"relativePath": "resources\\effects\\builtin-unlit.effect" "relativePath": "resources\\effects\\builtin-unlit.effect"
}, },
"ddb99b39-7004-47cd-9705-751905c43c46": { "ddb99b39-7004-47cd-9705-751905c43c46": {
"asset": 1672392281032, "asset": 1696211512321,
"meta": 1685194619433, "meta": 1701586362443,
"relativePath": "prefab\\light\\directional.prefab" "relativePath": "prefab\\light\\directional.prefab"
}, },
"0cf30284-9073-46bc-9eba-e62b69dbbff3": { "0cf30284-9073-46bc-9eba-e62b69dbbff3": {
"asset": 1672392281033, "asset": 1696211512325,
"meta": 1685194619469, "meta": 1701586362447,
"relativePath": "prefab\\light\\point.prefab" "relativePath": "prefab\\light\\point.prefab"
}, },
"f5331fd2-bf42-4ee3-a3fd-3e1657600eff": { "f5331fd2-bf42-4ee3-a3fd-3e1657600eff": {
"asset": 1672392281034, "asset": 1696211512328,
"meta": 1685194619469, "meta": 1701586362453,
"relativePath": "prefab\\light\\spot.prefab" "relativePath": "prefab\\light\\spot.prefab"
}, },
"6f801092-0c37-4f30-89ef-c8d960825b36": { "6f801092-0c37-4f30-89ef-c8d960825b36": {
"asset": 1672392281124, "asset": 1696211512410,
"meta": 1685194619616, "meta": 1701586362762,
"relativePath": "resources\\materials\\builtin-2d-base.mtl" "relativePath": "resources\\materials\\builtin-2d-base.mtl"
}, },
"a153945d-2511-4c14-be7b-05d242f47d57": { "a153945d-2511-4c14-be7b-05d242f47d57": {
"asset": 1672392281125, "asset": 1696211512414,
"meta": 1685194619616, "meta": 1701586362763,
"relativePath": "resources\\materials\\builtin-2d-graphics.mtl" "relativePath": "resources\\materials\\builtin-2d-graphics.mtl"
}, },
"3a7bb79f-32fd-422e-ada2-96f518fed422": { "3a7bb79f-32fd-422e-ada2-96f518fed422": {
"asset": 1672392281126, "asset": 1696211512416,
"meta": 1685194619616, "meta": 1701586362767,
"relativePath": "resources\\materials\\builtin-2d-gray-sprite.mtl" "relativePath": "resources\\materials\\builtin-2d-gray-sprite.mtl"
}, },
"e02d87d4-e599-4d16-8001-e14891ac6506": { "e02d87d4-e599-4d16-8001-e14891ac6506": {
"asset": 1672392281128, "asset": 1696211512419,
"meta": 1685194619616, "meta": 1701586362769,
"relativePath": "resources\\materials\\builtin-2d-label.mtl" "relativePath": "resources\\materials\\builtin-2d-label.mtl"
}, },
"7afd064b-113f-480e-b793-8817d19f63c3": { "7afd064b-113f-480e-b793-8817d19f63c3": {
"asset": 1672392281129, "asset": 1696211512423,
"meta": 1685194619616, "meta": 1701586362773,
"relativePath": "resources\\materials\\builtin-2d-spine.mtl" "relativePath": "resources\\materials\\builtin-2d-spine.mtl"
}, },
"eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432": { "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432": {
"asset": 1672392281130, "asset": 1696211512427,
"meta": 1685194619616, "meta": 1701586362771,
"relativePath": "resources\\materials\\builtin-2d-sprite.mtl" "relativePath": "resources\\materials\\builtin-2d-sprite.mtl"
}, },
"432fa09c-cf03-4cff-a186-982604408a07": { "432fa09c-cf03-4cff-a186-982604408a07": {
"asset": 1672392281132, "asset": 1696211512431,
"meta": 1685194619616, "meta": 1701586362775,
"relativePath": "resources\\materials\\builtin-3d-particle.mtl" "relativePath": "resources\\materials\\builtin-3d-particle.mtl"
}, },
"466d4f9b-e5f4-4ea8-85d5-3c6e9a65658a": { "466d4f9b-e5f4-4ea8-85d5-3c6e9a65658a": {
"asset": 1672392281133, "asset": 1696211512435,
"meta": 1685194619632, "meta": 1701586362779,
"relativePath": "resources\\materials\\builtin-3d-trail.mtl" "relativePath": "resources\\materials\\builtin-3d-trail.mtl"
}, },
"cf7e0bb8-a81c-44a9-ad79-d28d43991032": { "cf7e0bb8-a81c-44a9-ad79-d28d43991032": {
"asset": 1672392281134, "asset": 1696211512438,
"meta": 1685194619632, "meta": 1701586362784,
"relativePath": "resources\\materials\\builtin-clear-stencil.mtl" "relativePath": "resources\\materials\\builtin-clear-stencil.mtl"
}, },
"2a296057-247c-4a1c-bbeb-0548b6c98650": { "2a296057-247c-4a1c-bbeb-0548b6c98650": {
"asset": 1672392281135, "asset": 1696211512442,
"meta": 1685194619632, "meta": 1701586362776,
"relativePath": "resources\\materials\\builtin-unlit.mtl" "relativePath": "resources\\materials\\builtin-unlit.mtl"
}, },
"b8223619-7e38-47c4-841f-9160c232495a": { "b8223619-7e38-47c4-841f-9160c232495a": {
"asset": 1672392280965, "asset": 1696211512265,
"meta": 1685194619651, "meta": 1701586362800,
"relativePath": "obsolete\\atom.plist" "relativePath": "obsolete\\atom.plist"
}, },
"b2687ac4-099e-403c-a192-ff477686f4f5": { "b2687ac4-099e-403c-a192-ff477686f4f5": {
"asset": 1672392280971, "asset": 1696211512274,
"meta": 1685194619652, "meta": 1701586362802,
"relativePath": "particle\\atom.plist" "relativePath": "particle\\atom.plist"
}, },
"954fec8b-cd16-4bb9-a3b7-7719660e7558": { "954fec8b-cd16-4bb9-a3b7-7719660e7558": {
"asset": 1672392280960, "asset": 1696211512258,
"meta": 1685194622446, "meta": 1701586365928,
"relativePath": "model\\primitives.fbx" "relativePath": "model\\primitives.fbx"
}, },
"29f52784-2fca-467b-92e7-8fd9ef8c57b7": { "29f52784-2fca-467b-92e7-8fd9ef8c57b7": {
"asset": 1685194264356, "asset": 1701586241723,
"meta": 1685194622466, "meta": 1701586365946,
"relativePath": "Scene" "relativePath": "Scene"
}, },
"4734c20c-0db8-4eb2-92ea-e692f4d70934": { "4734c20c-0db8-4eb2-92ea-e692f4d70934": {
"asset": 1685194264359, "asset": 1701586241731,
"meta": 1685194622466, "meta": 1701586365947,
"relativePath": "Script" "relativePath": "Script"
}, },
"7b81d4e8-ec84-4716-968d-500ac1d78a54": { "7b81d4e8-ec84-4716-968d-500ac1d78a54": {
"asset": 1685194264361, "asset": 1701586241734,
"meta": 1685194622466, "meta": 1701586365948,
"relativePath": "Texture" "relativePath": "Texture"
}, },
"2d2f792f-a40c-49bb-a189-ed176a246e49": { "2d2f792f-a40c-49bb-a189-ed176a246e49": {
"asset": 1685199573086, "asset": 1701588666378,
"meta": 1685199573098, "meta": 1701588666387,
"relativePath": "Scene\\helloworld.fire" "relativePath": "Scene\\helloworld.fire"
}, },
"a8027877-d8d6-4645-97a0-52d4a0123dba": { "a8027877-d8d6-4645-97a0-52d4a0123dba": {
"asset": 1685194264359, "asset": 1701586241732,
"meta": 1685194622776, "meta": 1701586366226,
"relativePath": "Texture\\singleColor.png" "relativePath": "Texture\\singleColor.png"
}, },
"e68a8476-8374-4400-ae48-d3eae5df38ea": { "e68a8476-8374-4400-ae48-d3eae5df38ea": {
"asset": 1685194264361, "asset": 1701586241735,
"meta": 1685194622766, "meta": 1701586366211,
"relativePath": "cocos.anim" "relativePath": "cocos.anim"
}, },
"70364224-9941-46cb-9c14-263fa45363b9": { "70364224-9941-46cb-9c14-263fa45363b9": {
"asset": 1685194264360, "asset": 1701586241733,
"meta": 1685194622776, "meta": 1701586366228,
"relativePath": "Texture\\zhizhuxia.png" "relativePath": "Texture\\zhizhuxia.png"
}, },
"9285e338-6210-4984-bf3e-0b9ebd5f6f78": { "9285e338-6210-4984-bf3e-0b9ebd5f6f78": {
"asset": 1685198371101, "asset": 1701586241731,
"meta": 1685198397889, "meta": 1701586366206,
"relativePath": "Script\\Hero.ts" "relativePath": "Script\\Hero.ts"
}, },
"1c1526d4-850a-49e8-9d63-1a14155187fc": { "1c1526d4-850a-49e8-9d63-1a14155187fc": {
"asset": 1685199089854, "asset": 1701588660891,
"meta": 1685199090808, "meta": 1701588662051,
"relativePath": "Script\\DataBoard.ts" "relativePath": "Script\\DataBoard.ts"
} }
} }

View File

@ -19,7 +19,7 @@
"children": [ "children": [
{ {
"width": 459, "width": 459,
"height": 316.828125, "height": 317.140625,
"type": "panel", "type": "panel",
"active": 0, "active": 0,
"children": [ "children": [
@ -28,7 +28,7 @@
}, },
{ {
"width": 459, "width": 459,
"height": 599.671875, "height": 599.359375,
"type": "panel", "type": "panel",
"active": 0, "active": 0,
"children": [ "children": [
@ -44,7 +44,7 @@
"children": [ "children": [
{ {
"width": 980, "width": 980,
"height": 563.6875, "height": 563.453125,
"type": "panel", "type": "panel",
"active": 0, "active": 0,
"children": [ "children": [
@ -53,7 +53,7 @@
}, },
{ {
"width": 980, "width": 980,
"height": 352.8125, "height": 353.03125,
"type": "panel", "type": "panel",
"active": 1, "active": 1,
"children": [ "children": [

View File

@ -1,7 +1,5 @@
{ {
"nodeFoldStates": [ "nodeFoldStates": [
"a286bbGknJLZpRpxROV6M94",
"c4f30YOS65G64U2TwufdJ+2",
"11xD0BxxtBsL3dGyOmptts", "11xD0BxxtBsL3dGyOmptts",
"e9zbyA36BCPYqOZeetfKWr", "e9zbyA36BCPYqOZeetfKWr",
"6azAOUfRhH0axn8sLbWQuh", "6azAOUfRhH0axn8sLbWQuh",
@ -17,6 +15,8 @@
"a5w5Fq9hJDnYchoSyoTCp2", "a5w5Fq9hJDnYchoSyoTCp2",
"33A3j7mF5N6ql4/IWBl2Xf", "33A3j7mF5N6ql4/IWBl2Xf",
"d4VV9JNglBRI3iGufdF8pm", "d4VV9JNglBRI3iGufdF8pm",
"85BlQuDb9HZKuhEJxwyGF+" "85BlQuDb9HZKuhEJxwyGF+",
"a286bbGknJLZpRpxROV6M94",
"c4f30YOS65G64U2TwufdJ+2"
] ]
} }

View File

@ -1,7 +1,7 @@
{ {
"engine": "cocos2d-html5", "engine": "cocos2d-html5",
"packages": "packages", "packages": "packages",
"version": "2.4.11", "version": "2.4.12",
"name": "DataBoardDemo", "name": "DataBoardDemo",
"id": "3e5c1cd9-d1ab-4e7a-bd69-b58ce71aec07", "id": "3e5c1cd9-d1ab-4e7a-bd69-b58ce71aec07",
"isNew": false "isNew": false

View File

@ -31,5 +31,8 @@
"audience": { "audience": {
"enable": false "enable": false
} }
} },
"migrate-history": [
"cloud-function"
]
} }