Signed-off-by: szrpf <27185709@qq.com>

This commit is contained in:
szrpf 2023-04-23 18:35:39 +08:00
parent a48fa6b879
commit 484bf7c1b9
52 changed files with 171 additions and 173 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,3 @@
2023/04/22-00:00:30.805 3580 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Extension State/MANIFEST-000001
2023/04/22-00:00:30.805 3580 Recovering log #3
2023/04/22-00:00:30.806 3580 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Extension State/000003.log
2023/04/23-17:18:35.293 1054 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Extension State/MANIFEST-000001
2023/04/23-17:18:35.294 1054 Recovering log #3
2023/04/23-17:18:35.294 1054 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Extension State/000003.log

View File

@ -1,3 +1,3 @@
2023/04/21-23:49:59.363 38c0 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Extension State/MANIFEST-000001
2023/04/21-23:49:59.364 38c0 Recovering log #3
2023/04/21-23:49:59.364 38c0 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Extension State/000003.log
2023/04/22-00:00:30.805 3580 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Extension State/MANIFEST-000001
2023/04/22-00:00:30.805 3580 Recovering log #3
2023/04/22-00:00:30.806 3580 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Extension State/000003.log

Binary file not shown.

Binary file not shown.

View File

@ -1,3 +1,3 @@
2023/04/22-00:00:31.072 3fe0 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Local Storage\leveldb/MANIFEST-000001
2023/04/22-00:00:31.078 3fe0 Recovering log #3
2023/04/22-00:00:31.081 3fe0 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Local Storage\leveldb/000003.log
2023/04/23-17:18:35.428 12a0 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Local Storage\leveldb/MANIFEST-000001
2023/04/23-17:18:35.430 12a0 Recovering log #3
2023/04/23-17:18:35.442 12a0 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Local Storage\leveldb/000003.log

View File

@ -1,3 +1,3 @@
2023/04/21-23:49:59.785 3cbc Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Local Storage\leveldb/MANIFEST-000001
2023/04/21-23:49:59.790 3cbc Recovering log #3
2023/04/21-23:49:59.806 3cbc Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Local Storage\leveldb/000003.log
2023/04/22-00:00:31.072 3fe0 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Local Storage\leveldb/MANIFEST-000001
2023/04/22-00:00:31.078 3fe0 Recovering log #3
2023/04/22-00:00:31.081 3fe0 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Local Storage\leveldb/000003.log

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -1,3 +1,3 @@
2023/04/22-00:00:31.067 3fd4 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Session Storage/MANIFEST-000001
2023/04/22-00:00:31.069 3fd4 Recovering log #3
2023/04/22-00:00:31.077 3fd4 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Session Storage/000003.log
2023/04/23-17:18:35.425 30f0 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Session Storage/MANIFEST-000001
2023/04/23-17:18:35.430 30f0 Recovering log #3
2023/04/23-17:18:35.438 30f0 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Session Storage/000003.log

View File

@ -1,3 +1,3 @@
2023/04/21-23:49:59.763 1e0c Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Session Storage/MANIFEST-000001
2023/04/21-23:49:59.768 1e0c Recovering log #3
2023/04/21-23:49:59.772 1e0c Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Session Storage/000003.log
2023/04/22-00:00:31.067 3fd4 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Session Storage/MANIFEST-000001
2023/04/22-00:00:31.069 3fd4 Recovering log #3
2023/04/22-00:00:31.077 3fd4 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Session Storage/000003.log

View File

@ -1,3 +1,3 @@
2023/04/22-00:00:30.577 24f8 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Site Characteristics Database/MANIFEST-000001
2023/04/22-00:00:30.578 24f8 Recovering log #3
2023/04/22-00:00:30.578 24f8 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Site Characteristics Database/000003.log
2023/04/23-17:18:35.126 2ca8 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Site Characteristics Database/MANIFEST-000001
2023/04/23-17:18:35.126 2ca8 Recovering log #3
2023/04/23-17:18:35.127 2ca8 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Site Characteristics Database/000003.log

View File

@ -1,3 +1,3 @@
2023/04/21-23:49:59.195 3cd4 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Site Characteristics Database/MANIFEST-000001
2023/04/21-23:49:59.196 3cd4 Recovering log #3
2023/04/21-23:49:59.197 3cd4 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Site Characteristics Database/000003.log
2023/04/22-00:00:30.577 24f8 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Site Characteristics Database/MANIFEST-000001
2023/04/22-00:00:30.578 24f8 Recovering log #3
2023/04/22-00:00:30.578 24f8 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Site Characteristics Database/000003.log

View File

@ -1,3 +1,3 @@
2023/04/22-00:00:30.584 3580 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Sync Data\LevelDB/MANIFEST-000001
2023/04/22-00:00:30.585 3580 Recovering log #3
2023/04/22-00:00:30.585 3580 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Sync Data\LevelDB/000003.log
2023/04/23-17:18:35.128 2d48 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Sync Data\LevelDB/MANIFEST-000001
2023/04/23-17:18:35.129 2d48 Recovering log #3
2023/04/23-17:18:35.129 2d48 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Sync Data\LevelDB/000003.log

View File

@ -1,3 +1,3 @@
2023/04/21-23:49:59.205 3dc0 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Sync Data\LevelDB/MANIFEST-000001
2023/04/21-23:49:59.206 3dc0 Recovering log #3
2023/04/21-23:49:59.206 3dc0 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Sync Data\LevelDB/000003.log
2023/04/22-00:00:30.584 3580 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\Sync Data\LevelDB/MANIFEST-000001
2023/04/22-00:00:30.585 3580 Recovering log #3
2023/04/22-00:00:30.585 3580 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\Sync Data\LevelDB/000003.log

Binary file not shown.

View File

@ -1,3 +1,3 @@
2023/04/22-00:00:30.787 3580 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db/MANIFEST-000001
2023/04/22-00:00:30.788 3580 Recovering log #3
2023/04/22-00:00:30.788 3580 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db/000003.log
2023/04/23-17:18:35.283 1ae4 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db/MANIFEST-000001
2023/04/23-17:18:35.283 1ae4 Recovering log #3
2023/04/23-17:18:35.284 1ae4 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db/000003.log

View File

@ -1,3 +1,3 @@
2023/04/21-23:49:59.363 170 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db/MANIFEST-000001
2023/04/21-23:49:59.363 170 Recovering log #3
2023/04/21-23:49:59.364 170 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db/000003.log
2023/04/22-00:00:30.787 3580 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db/MANIFEST-000001
2023/04/22-00:00:30.788 3580 Recovering log #3
2023/04/22-00:00:30.788 3580 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db/000003.log

View File

@ -1,3 +1,3 @@
2023/04/22-00:00:30.782 3580 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db\metadata/MANIFEST-000001
2023/04/22-00:00:30.782 3580 Recovering log #3
2023/04/22-00:00:30.782 3580 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db\metadata/000003.log
2023/04/23-17:18:35.273 1ae4 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db\metadata/MANIFEST-000001
2023/04/23-17:18:35.273 1ae4 Recovering log #3
2023/04/23-17:18:35.274 1ae4 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db\metadata/000003.log

View File

@ -1,3 +1,3 @@
2023/04/21-23:49:59.351 170 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db\metadata/MANIFEST-000001
2023/04/21-23:49:59.351 170 Recovering log #3
2023/04/21-23:49:59.352 170 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db\metadata/000003.log
2023/04/22-00:00:30.782 3580 Reusing MANIFEST D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db\metadata/MANIFEST-000001
2023/04/22-00:00:30.782 3580 Recovering log #3
2023/04/22-00:00:30.782 3580 Reusing old log D:\Project\DataBoardDemo\.vscode\chrome\Default\shared_proto_db\metadata/000003.log

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View File

@ -1 +1 @@
267
69

View File

@ -99,8 +99,7 @@ export default class DataBoard extends cc.Component {
this._customLabelString = value;
this.customLabelStringSplit = value
.replace(/,/g, '_~_').replace(/:/g, '_!_').replace(/ /g, '_@_')
.replace(/([^_])\n/g, '$1_\n').replace(/([^_])\n/g, '$1_\n').replace(/\n([^_])/g, '\n_$1')
.split('_');
.replace(/(?<!_)\n/g, '_\n').replace(/\n(?!_)/g, '\n_').split('_');
}
@property
private _customLabelOffset: cc.Vec2 = cc.v2(0, 100);

View File

@ -157,8 +157,7 @@ var DataBoard = /** @class */ (function (_super) {
this._customLabelString = value;
this.customLabelStringSplit = value
.replace(/,/g, '_~_').replace(/:/g, '_!_').replace(/ /g, '_@_')
.replace(/([^_])\n/g, '$1_\n').replace(/([^_])\n/g, '$1_\n').replace(/\n([^_])/g, '\n_$1')
.split('_');
.replace(/(?<!_)\n/g, '_\n').replace(/\n(?!_)/g, '\n_').split('_');
},
enumerable: false,
configurable: true
@ -207,11 +206,11 @@ var DataBoard = /** @class */ (function (_super) {
});
;
DataBoard.prototype.onLoad = 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();

File diff suppressed because one or more lines are too long

View File

@ -1,502 +1,502 @@
{
"9836134e-b892-4283-b6b2-78b5acf3ed45": {
"asset": 1681034045805,
"meta": 1682145347554,
"meta": 1682241400549,
"relativePath": "effects"
},
"f8e6b000-5643-4b86-9080-aa680ce1f599": {
"asset": 1681034045986,
"meta": 1682145347555,
"meta": 1682241400550,
"relativePath": "image"
},
"5c3eedba-6c41-4c0c-9ba7-d91f813cbd1c": {
"asset": 1681034045994,
"meta": 1682145347558,
"meta": 1682241400552,
"relativePath": "materials"
},
"fc09f9bd-2cce-4605-b630-8145ef809ed6": {
"asset": 1681034046012,
"meta": 1682145347560,
"meta": 1682241400553,
"relativePath": "misc"
},
"db019bf7-f71c-4111-98cf-918ea180cb48": {
"asset": 1681034046103,
"meta": 1682145347561,
"meta": 1682241400554,
"relativePath": "model"
},
"f6e6dd15-71d1-4ffe-ace7-24fd39942c05": {
"asset": 1681034046110,
"meta": 1682145347562,
"meta": 1682241400555,
"relativePath": "obsolete"
},
"f743d2b6-b7ea-4c14-a55b-547ed4d0a045": {
"asset": 1681034046124,
"meta": 1682145347565,
"meta": 1682241400556,
"relativePath": "particle"
},
"ae6c6c98-11e4-452f-8758-75f5c6a56e83": {
"asset": 1681034046261,
"meta": 1682145347566,
"meta": 1682241400558,
"relativePath": "prefab"
},
"d8afc78c-4eac-4a9f-83dd-67bc70344d33": {
"asset": 1681034046294,
"meta": 1682145347568,
"meta": 1682241400560,
"relativePath": "resources"
},
"abc2cb62-7852-4525-a90d-d474487b88f2": {
"asset": 1681034045786,
"meta": 1682145347733,
"meta": 1682241400709,
"relativePath": "effects\\builtin-phong.effect"
},
"e2f00085-c597-422d-9759-52c360279106": {
"asset": 1681034045792,
"meta": 1682145347813,
"meta": 1682241400775,
"relativePath": "effects\\builtin-toon.effect"
},
"430eccbf-bf2c-4e6e-8c0c-884bbb487f32": {
"asset": 1681034045799,
"meta": 1682145347835,
"meta": 1682241400791,
"relativePath": "effects\\__builtin-editor-gizmo-line.effect"
},
"6c5cf6e1-b044-4eac-9431-835644d57381": {
"asset": 1681034045799,
"meta": 1682145347848,
"meta": 1682241400806,
"relativePath": "effects\\__builtin-editor-gizmo-unlit.effect"
},
"115286d1-2e10-49ee-aab4-341583f607e8": {
"asset": 1681034045805,
"meta": 1682145347887,
"meta": 1682241400838,
"relativePath": "effects\\__builtin-editor-gizmo.effect"
},
"71561142-4c83-4933-afca-cb7a17f67053": {
"asset": 1681034045816,
"meta": 1682145347941,
"meta": 1682241400884,
"relativePath": "image\\default_btn_disabled.png"
},
"b43ff3c2-02bb-4874-81f7-f2dea6970f18": {
"asset": 1681034045823,
"meta": 1682145347934,
"meta": 1682241400884,
"relativePath": "image\\default_btn_pressed.png"
},
"e851e89b-faa2-4484-bea6-5c01dd9f06e2": {
"asset": 1681034045819,
"meta": 1682145347938,
"meta": 1682241400884,
"relativePath": "image\\default_btn_normal.png"
},
"d81ec8ad-247c-4e62-aa3c-d35c4193c7af": {
"asset": 1681034045841,
"meta": 1682145347946,
"meta": 1682241400900,
"relativePath": "image\\default_panel.png"
},
"edd215b9-2796-4a05-aaf5-81f96c9281ce": {
"asset": 1681034045834,
"meta": 1682145347948,
"meta": 1682241400900,
"relativePath": "image\\default_editbox_bg.png"
},
"600301aa-3357-4a10-b086-84f011fa32ba": {
"asset": 1681034045810,
"meta": 1682145347955,
"meta": 1682241400900,
"relativePath": "image\\default-particle.png"
},
"cfef78f1-c8df-49b7-8ed0-4c953ace2621": {
"asset": 1681034045851,
"meta": 1682145347951,
"meta": 1682241400900,
"relativePath": "image\\default_progressbar.png"
},
"99170b0b-d210-46f1-b213-7d9e3f23098a": {
"asset": 1681034045861,
"meta": 1682145347953,
"meta": 1682241400884,
"relativePath": "image\\default_progressbar_bg.png"
},
"9d60001f-b5f4-4726-a629-2659e3ded0b8": {
"asset": 1681034045877,
"meta": 1682145347987,
"meta": 1682241400931,
"relativePath": "image\\default_radio_button_on.png"
},
"0275e94c-56a7-410f-bd1a-fc7483f7d14a": {
"asset": 1681034045939,
"meta": 1682145348002,
"meta": 1682241400947,
"relativePath": "image\\default_sprite_splash.png"
},
"0291c134-b3da-4098-b7b5-e397edbe947f": {
"asset": 1681034045891,
"meta": 1682145347995,
"meta": 1682241400931,
"relativePath": "image\\default_scrollbar.png"
},
"4bab67cb-18e6-4099-b840-355f0473f890": {
"asset": 1681034045903,
"meta": 1682145347998,
"meta": 1682241400931,
"relativePath": "image\\default_scrollbar_bg.png"
},
"e39e96e6-6f6e-413f-bcf1-ac7679bb648a": {
"asset": 1681034046093,
"meta": 1682145348007,
"meta": 1682241400947,
"relativePath": "model\\prefab"
},
"567dcd80-8bf4-4535-8a5a-313f1caf078a": {
"asset": 1681034045868,
"meta": 1682145347991,
"meta": 1682241400931,
"relativePath": "image\\default_radio_button_off.png"
},
"d6d3ca85-4681-47c1-b5dd-d036a9d39ea2": {
"asset": 1681034045910,
"meta": 1682145348005,
"meta": 1682241400931,
"relativePath": "image\\default_scrollbar_vertical.png"
},
"c4480a0a-6ac5-443f-8b40-361a14257fc8": {
"asset": 1681034045993,
"meta": 1682145348904,
"meta": 1682241401589,
"relativePath": "materials\\builtin-phong.mtl"
},
"617323dd-11f4-4dd3-8eec-0caf6b3b45b9": {
"asset": 1681034045917,
"meta": 1682145348000,
"meta": 1682241400931,
"relativePath": "image\\default_scrollbar_vertical_bg.png"
},
"6e056173-d285-473c-b206-40a7fff5386e": {
"asset": 1681034045927,
"meta": 1682145348008,
"meta": 1682241400947,
"relativePath": "image\\default_sprite.png"
},
"73a0903d-d80e-4e3c-aa67-f999543c08f5": {
"asset": 1681034045943,
"meta": 1682145348349,
"meta": 1682241401197,
"relativePath": "image\\default_toggle_checkmark.png"
},
"b181c1e4-0a72-4a91-bfb0-ae6f36ca60bd": {
"asset": 1681034045984,
"meta": 1682145348360,
"meta": 1682241401197,
"relativePath": "image\\default_toggle_pressed.png"
},
"c25b9d50-c8fc-4d27-beeb-6e7c1f2e5c0f": {
"asset": 1681034045956,
"meta": 1682145348346,
"meta": 1682241401197,
"relativePath": "image\\default_toggle_disabled.png"
},
"2be36297-9abb-4fee-8049-9ed5e271da8a": {
"asset": 1681034046009,
"meta": 1682145348356,
"meta": 1682241401212,
"relativePath": "misc\\default_video.mp4"
},
"d29077ba-1627-4a72-9579-7b56a235340c": {
"asset": 1681034045971,
"meta": 1682145348363,
"meta": 1682241401197,
"relativePath": "image\\default_toggle_normal.png"
},
"897ef7a1-4860-4f64-968d-f5924b18668a": {
"asset": 1681034046129,
"meta": 1682145348380,
"meta": 1682241401212,
"relativePath": "prefab\\2d-camera.prefab"
},
"8a96b965-2dc0-4e03-aa90-3b79cb93b5b4": {
"asset": 1681034046110,
"meta": 1682145348367,
"meta": 1682241401212,
"relativePath": "obsolete\\atom.png"
},
"70d7cdb0-04cd-41bb-9480-c06a4785f386": {
"asset": 1681034046136,
"meta": 1682145348375,
"meta": 1682241401212,
"relativePath": "prefab\\3d-camera.prefab"
},
"ed88f13d-fcad-4848-aa35-65a2cb973584": {
"asset": 1681034046144,
"meta": 1682145348390,
"meta": 1682241401212,
"relativePath": "prefab\\3d-stage.prefab"
},
"a3ee0214-b432-4865-9666-4a3211814282": {
"asset": 1681034046209,
"meta": 1682145348393,
"meta": 1682241401229,
"relativePath": "prefab\\light"
},
"d0a82d39-bede-46c4-b698-c81ff0dedfff": {
"asset": 1681034046122,
"meta": 1682145348428,
"meta": 1682241401212,
"relativePath": "particle\\atom.png"
},
"70bbeb73-6dc2-4ee4-8faf-76b3a0e34ec4": {
"asset": 1681034046140,
"meta": 1682145348386,
"meta": 1682241401231,
"relativePath": "prefab\\3d-particle.prefab"
},
"972b9a4d-47ee-4c74-b5c3-61d8a69bc29f": {
"asset": 1681034046148,
"meta": 1682145348400,
"meta": 1682241401235,
"relativePath": "prefab\\button.prefab"
},
"2c937608-2562-40ea-b264-7395df6f0cea": {
"asset": 1681034046153,
"meta": 1682145348397,
"meta": 1682241401238,
"relativePath": "prefab\\canvas.prefab"
},
"61aeb05b-3b32-452b-8eed-2b76deeed554": {
"asset": 1681034046158,
"meta": 1682145348411,
"meta": 1682241401241,
"relativePath": "prefab\\editbox.prefab"
},
"27756ebb-3d33-44b0-9b96-e858fadd4dd4": {
"asset": 1681034046161,
"meta": 1682145348416,
"meta": 1682241401244,
"relativePath": "prefab\\label.prefab"
},
"785a442c-3ceb-45be-a46e-7317f625f3b9": {
"asset": 1681034046163,
"meta": 1682145348408,
"meta": 1682241401247,
"relativePath": "prefab\\layout.prefab"
},
"ca8401fe-ad6e-41a8-bd46-8e3e4e9945be": {
"asset": 1681034046210,
"meta": 1682145348420,
"meta": 1682241401249,
"relativePath": "prefab\\pageview.prefab"
},
"cd33edea-55f5-46c2-958d-357a01384a36": {
"asset": 1681034046213,
"meta": 1682145348424,
"meta": 1682241401251,
"relativePath": "prefab\\particlesystem.prefab"
},
"5965ffac-69da-4b55-bcde-9225d0613c28": {
"asset": 1681034046217,
"meta": 1682145348432,
"meta": 1682241401253,
"relativePath": "prefab\\progressBar.prefab"
},
"4a37dd57-78cd-4cec-aad4-f11a73d12b63": {
"asset": 1681034046223,
"meta": 1682145348441,
"meta": 1682241401256,
"relativePath": "prefab\\richtext.prefab"
},
"32044bd2-481f-4cf1-a656-e2b2fb1594eb": {
"asset": 1681034046226,
"meta": 1682145348452,
"meta": 1682241401260,
"relativePath": "prefab\\scrollview.prefab"
},
"0004d1cf-a0ad-47d8-ab17-34d3db9d35a3": {
"asset": 1681034046230,
"meta": 1682145348448,
"meta": 1682241401263,
"relativePath": "prefab\\slider.prefab"
},
"96083d03-c332-4a3f-9386-d03e2d19e8ee": {
"asset": 1681034046236,
"meta": 1682145348437,
"meta": 1682241401267,
"relativePath": "prefab\\sprite.prefab"
},
"1f55e3be-b89b-4b79-88de-47fd31018044": {
"asset": 1681034046239,
"meta": 1682145348444,
"meta": 1682241401265,
"relativePath": "prefab\\sprite_splash.prefab"
},
"7de03a80-4457-438d-95a7-3e7cdffd6086": {
"asset": 1681034046242,
"meta": 1682145348464,
"meta": 1682241401275,
"relativePath": "prefab\\tiledmap.prefab"
},
"294c1663-4adf-4a1e-a795-53808011a38a": {
"asset": 1681034046292,
"meta": 1682145348460,
"meta": 1682241401276,
"relativePath": "resources\\effects"
},
"0e42ba95-1fa1-46aa-b2cf-143cd1bcee2c": {
"asset": 1681034046244,
"meta": 1682145348457,
"meta": 1682241401276,
"relativePath": "prefab\\tiledtile.prefab"
},
"bbee2217-c261-49bd-a8ce-708d6bcc3500": {
"asset": 1681034046346,
"meta": 1682145348466,
"meta": 1682241401276,
"relativePath": "resources\\materials"
},
"0d784963-d024-4ea6-a7db-03be0ad63010": {
"asset": 1681034046247,
"meta": 1682145348473,
"meta": 1682241401276,
"relativePath": "prefab\\toggle.prefab"
},
"bf0a434c-84dd-4a8e-a08a-7a36f180cc75": {
"asset": 1681034046250,
"meta": 1682145348478,
"meta": 1682241401276,
"relativePath": "prefab\\toggleContainer.prefab"
},
"d1b8be49-b0a0-435c-83b7-552bed4bbe35": {
"asset": 1681034046256,
"meta": 1682145348481,
"meta": 1682241401276,
"relativePath": "prefab\\toggleGroup.prefab"
},
"232d2782-c4bd-4bb4-9e01-909f03d6d3b9": {
"asset": 1681034046259,
"meta": 1682145348485,
"meta": 1682241401276,
"relativePath": "prefab\\videoplayer.prefab"
},
"8c5001fd-07ee-4a4b-a8a0-63e15195e94d": {
"asset": 1681034046261,
"meta": 1682145348488,
"meta": 1682241401292,
"relativePath": "prefab\\webview.prefab"
},
"a87cc147-01b2-43f8-8e42-a7ca90b0c757": {
"asset": 1681034046035,
"meta": 1682145348491,
"meta": 1682241401307,
"relativePath": "model\\prefab\\box.prefab"
},
"fe1417b6-fe6b-46a4-ae7c-9fd331f33a2a": {
"asset": 1681034046041,
"meta": 1682145348494,
"meta": 1682241401307,
"relativePath": "model\\prefab\\capsule.prefab"
},
"b5fc2cf2-7942-483d-be1f-bbeadc4714ad": {
"asset": 1681034046050,
"meta": 1682145348502,
"meta": 1682241401307,
"relativePath": "model\\prefab\\cone.prefab"
},
"1c5e4038-953a-44c2-b620-0bbfc6170477": {
"asset": 1681034046056,
"meta": 1682145348499,
"meta": 1682241401307,
"relativePath": "model\\prefab\\cylinder.prefab"
},
"3f376125-a699-40ca-ad05-04d662eaa1f2": {
"asset": 1681034046067,
"meta": 1682145348505,
"meta": 1682241401307,
"relativePath": "model\\prefab\\plane.prefab"
},
"6c9ef10d-b479-420b-bfe6-39cdda6a8ae0": {
"asset": 1681034046076,
"meta": 1682145348510,
"meta": 1682241401307,
"relativePath": "model\\prefab\\quad.prefab"
},
"30682f87-9f0d-4f17-8a44-72863791461b": {
"asset": 1681034046269,
"meta": 1682145348534,
"meta": 1682241401323,
"relativePath": "resources\\effects\\builtin-2d-graphics.effect"
},
"144c3297-af63-49e8-b8ef-1cfa29b3be28": {
"asset": 1681034046272,
"meta": 1682145348553,
"meta": 1682241401339,
"relativePath": "resources\\effects\\builtin-2d-gray-sprite.effect"
},
"de510076-056b-484f-b94c-83bef217d0e1": {
"asset": 1681034046089,
"meta": 1682145348537,
"meta": 1682241401386,
"relativePath": "model\\prefab\\torus.prefab"
},
"f18742d7-56d2-4eb5-ae49-2d9d710b37c8": {
"asset": 1681034046273,
"meta": 1682145348572,
"meta": 1682241401354,
"relativePath": "resources\\effects\\builtin-2d-label.effect"
},
"2d9a4b85-b0ab-4c46-84c5-18f393ab2058": {
"asset": 1681034046084,
"meta": 1682145348575,
"meta": 1682241401339,
"relativePath": "model\\prefab\\sphere.prefab"
},
"0e93aeaa-0b53-4e40-b8e0-6268b4e07bd7": {
"asset": 1681034046276,
"meta": 1682145348593,
"meta": 1682241401370,
"relativePath": "resources\\effects\\builtin-2d-spine.effect"
},
"2874f8dd-416c-4440-81b7-555975426e93": {
"asset": 1681034046278,
"meta": 1682145348614,
"meta": 1682241401386,
"relativePath": "resources\\effects\\builtin-2d-sprite.effect"
},
"829a282c-b049-4019-bd38-5ace8d8a6417": {
"asset": 1681034046281,
"meta": 1682145348724,
"meta": 1682241401464,
"relativePath": "resources\\effects\\builtin-3d-particle.effect"
},
"2a7c0036-e0b3-4fe1-8998-89a54b8a2bec": {
"asset": 1681034046286,
"meta": 1682145348752,
"meta": 1682241401479,
"relativePath": "resources\\effects\\builtin-3d-trail.effect"
},
"61906da3-7003-4bda-9abc-5769c76faee4": {
"asset": 1681034046175,
"meta": 1682145348555,
"meta": 1682241401464,
"relativePath": "prefab\\light\\ambient.prefab"
},
"c0040c95-c57f-49cd-9cbc-12316b73d0d4": {
"asset": 1681034046290,
"meta": 1682145348763,
"meta": 1682241401495,
"relativePath": "resources\\effects\\builtin-clear-stencil.effect"
},
"6d91e591-4ce0-465c-809f-610ec95019c6": {
"asset": 1681034046292,
"meta": 1682145348792,
"meta": 1682241401510,
"relativePath": "resources\\effects\\builtin-unlit.effect"
},
"ddb99b39-7004-47cd-9705-751905c43c46": {
"asset": 1681034046177,
"meta": 1682145348797,
"meta": 1682241401510,
"relativePath": "prefab\\light\\directional.prefab"
},
"0cf30284-9073-46bc-9eba-e62b69dbbff3": {
"asset": 1681034046185,
"meta": 1682145348799,
"meta": 1682241401526,
"relativePath": "prefab\\light\\point.prefab"
},
"f5331fd2-bf42-4ee3-a3fd-3e1657600eff": {
"asset": 1681034046190,
"meta": 1682145348802,
"meta": 1682241401526,
"relativePath": "prefab\\light\\spot.prefab"
},
"6f801092-0c37-4f30-89ef-c8d960825b36": {
"asset": 1681034046295,
"meta": 1682145348993,
"meta": 1682241401651,
"relativePath": "resources\\materials\\builtin-2d-base.mtl"
},
"a153945d-2511-4c14-be7b-05d242f47d57": {
"asset": 1681034046300,
"meta": 1682145348982,
"meta": 1682241401651,
"relativePath": "resources\\materials\\builtin-2d-graphics.mtl"
},
"3a7bb79f-32fd-422e-ada2-96f518fed422": {
"asset": 1681034046302,
"meta": 1682145348984,
"meta": 1682241401667,
"relativePath": "resources\\materials\\builtin-2d-gray-sprite.mtl"
},
"e02d87d4-e599-4d16-8001-e14891ac6506": {
"asset": 1681034046308,
"meta": 1682145348986,
"meta": 1682241401667,
"relativePath": "resources\\materials\\builtin-2d-label.mtl"
},
"7afd064b-113f-480e-b793-8817d19f63c3": {
"asset": 1681034046324,
"meta": 1682145348988,
"meta": 1682241401677,
"relativePath": "resources\\materials\\builtin-2d-spine.mtl"
},
"eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432": {
"asset": 1681034046326,
"meta": 1682145348991,
"meta": 1682241401679,
"relativePath": "resources\\materials\\builtin-2d-sprite.mtl"
},
"432fa09c-cf03-4cff-a186-982604408a07": {
"asset": 1681034046337,
"meta": 1682145348995,
"meta": 1682241401681,
"relativePath": "resources\\materials\\builtin-3d-particle.mtl"
},
"466d4f9b-e5f4-4ea8-85d5-3c6e9a65658a": {
"asset": 1681034046341,
"meta": 1682145348997,
"meta": 1682241401683,
"relativePath": "resources\\materials\\builtin-3d-trail.mtl"
},
"cf7e0bb8-a81c-44a9-ad79-d28d43991032": {
"asset": 1681034046343,
"meta": 1682145348999,
"meta": 1682241401685,
"relativePath": "resources\\materials\\builtin-clear-stencil.mtl"
},
"2a296057-247c-4a1c-bbeb-0548b6c98650": {
"asset": 1681034046345,
"meta": 1682145349001,
"meta": 1682241401687,
"relativePath": "resources\\materials\\builtin-unlit.mtl"
},
"b8223619-7e38-47c4-841f-9160c232495a": {
"asset": 1681034046108,
"meta": 1682145349043,
"meta": 1682241401704,
"relativePath": "obsolete\\atom.plist"
},
"b2687ac4-099e-403c-a192-ff477686f4f5": {
"asset": 1681034046114,
"meta": 1682145349041,
"meta": 1682241401688,
"relativePath": "particle\\atom.plist"
},
"954fec8b-cd16-4bb9-a3b7-7719660e7558": {
"asset": 1681034046100,
"meta": 1682145351899,
"meta": 1682241403862,
"relativePath": "model\\primitives.fbx"
},
"29f52784-2fca-467b-92e7-8fd9ef8c57b7": {
@ -540,8 +540,8 @@
"relativePath": "Texture\\zhizhuxia.png"
},
"1c1526d4-850a-49e8-9d63-1a14155187fc": {
"asset": 1682145307716,
"meta": 1682145352205,
"asset": 1682242058904,
"meta": 1682242063193,
"relativePath": "Script\\DataBoard.ts"
}
}

View File

@ -19,7 +19,7 @@
"children": [
{
"width": 459,
"height": 317.6875,
"height": 318,
"type": "panel",
"active": 0,
"children": [
@ -28,7 +28,7 @@
},
{
"width": 459,
"height": 601.3125,
"height": 601,
"type": "panel",
"active": 0,
"children": [
@ -44,7 +44,7 @@
"children": [
{
"width": 980,
"height": 566.234375,
"height": 565.984375,
"type": "panel",
"active": 0,
"children": [
@ -53,7 +53,7 @@
},
{
"width": 980,
"height": 352.765625,
"height": 353,
"type": "panel",
"active": 1,
"children": [

View File

@ -1,3 +1,6 @@
{
"last-edit": "2d2f792f-a40c-49bb-a189-ed176a246e49"
"last-edit": "2d2f792f-a40c-49bb-a189-ed176a246e49",
"recent-items": [
"2d2f792f-a40c-49bb-a189-ed176a246e49"
]
}

View File

@ -1 +1 @@
{"version":"1.0.8","stats":{"D:/Project/DataBoardDemo/temp/quick-scripts/src/__qc_index__.js":"2023-04-22T06:35:52.645Z","D:/Project/DataBoardDemo/temp/quick-scripts/src/assets/Script/Hero.js":"2023-04-22T06:35:52.597Z","D:/Project/DataBoardDemo/temp/quick-scripts/src/assets/Script/DataBoard.js":"2023-04-22T06:35:52.595Z"}}
{"version":"1.0.8","stats":{"D:/Project/DataBoardDemo/temp/quick-scripts/src/__qc_index__.js":"2023-04-23T09:16:44.271Z","D:/Project/DataBoardDemo/temp/quick-scripts/src/assets/Script/Hero.js":"2023-04-23T09:16:44.236Z","D:/Project/DataBoardDemo/temp/quick-scripts/src/assets/Script/DataBoard.js":"2023-04-23T09:16:44.231Z"}}

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
(function () {
var scripts = [{"deps":{"./assets/Script/Hero":1,"./assets/Script/DataBoard":2},"path":"preview-scripts/__qc_index__.js"},{"deps":{},"path":"preview-scripts/assets/Script/Hero.js"},{"deps":{},"path":"preview-scripts/assets/Script/DataBoard.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

@ -157,8 +157,7 @@ var DataBoard = /** @class */ (function (_super) {
this._customLabelString = value;
this.customLabelStringSplit = value
.replace(/,/g, '_~_').replace(/:/g, '_!_').replace(/ /g, '_@_')
.replace(/([^_])\n/g, '$1_\n').replace(/([^_])\n/g, '$1_\n').replace(/\n([^_])/g, '\n_$1')
.split('_');
.replace(/(?<!_)\n/g, '_\n').replace(/\n(?!_)/g, '\n_').split('_');
},
enumerable: false,
configurable: true
@ -207,11 +206,11 @@ var DataBoard = /** @class */ (function (_super) {
});
;
DataBoard.prototype.onLoad = 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();

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
{"pid":7532}
{"pid":13200}