This commit is contained in:
szrpf
2024-02-07 12:57:15 +08:00
parent d30573f37a
commit 446aabf770
17 changed files with 1570 additions and 1685 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"__type__": "cc.AnimationClip",
"_name": "cocos",
"_name": "Test",
"_objFlags": 0,
"_native": "",
"_duration": 2.5,
@@ -14,7 +14,7 @@
"scale": []
},
"paths": {
"挂DataBoard的对象": {
"挂DataBoard的节点": {
"props": {
"position": [
{

View File

Before

Width:  |  Height:  |  Size: 82 B

After

Width:  |  Height:  |  Size: 82 B

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

@@ -1,13 +0,0 @@
{
"ver": "1.1.3",
"uuid": "29f52784-2fca-467b-92e7-8fd9ef8c57b7",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

View File

@@ -1,8 +0,0 @@
{
"ver": "1.3.2",
"uuid": "2d2f792f-a40c-49bb-a189-ed176a246e49",
"importer": "scene",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
}

View File

@@ -198,8 +198,6 @@ export default class DataBoard extends cc.Component {
this.customLabelNode.x = this.customLabelOffset.x;
this.customLabelNode.y = this.customLabelOffset.y;
this.customLabelNode.color = this.customLabelColor;
this.customLabelSize = this._customLabelSize;
this.customComponentName = this._customComponentName;
this.updateAngle();
this.updateScale();
@@ -209,6 +207,10 @@ export default class DataBoard extends cc.Component {
this.node.on(cc.Node.EventType.SCALE_CHANGED, this.updateScale, this);
this.node.on(cc.Node.EventType.ANCHOR_CHANGED, this.updateAnchor, this);
this.node.on(cc.Node.EventType.SIZE_CHANGED, this.updateSize, this);
cc.director.once(cc.Director.EVENT_AFTER_DRAW, () => {
this.customLabelSize = this._customLabelSize;
this.customComponentName = this._customComponentName;
}, this);
}
private updateAngle() {
@@ -262,7 +264,7 @@ export default class DataBoard extends cc.Component {
tmp = '';
for (let i = 0; i < 4; ++i) {
for (let j = 0; j < 4; ++j) {
let m = matrix[(j<<2) + i];
let m = matrix[(j << 2) + i];
tmp += (m < 0 ? '\t\t' : '\t\t\t') + m.toFixed(this.customLabelDigit);
}
i !== 3 && (tmp += '\n');

View File

@@ -1,13 +0,0 @@
{
"ver": "1.1.3",
"uuid": "7b81d4e8-ec84-4716-968d-500ac1d78a54",
"importer": "folder",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {},
"subMetas": {}
}

View File

@@ -1,38 +0,0 @@
{
"ver": "2.3.7",
"uuid": "a8027877-d8d6-4645-97a0-52d4a0123dba",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 2,
"height": 2,
"platformSettings": {},
"subMetas": {
"singleColor": {
"ver": "1.0.6",
"uuid": "410fb916-8721-4663-bab8-34397391ace7",
"importer": "sprite-frame",
"rawTextureUuid": "a8027877-d8d6-4645-97a0-52d4a0123dba",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 2,
"height": 2,
"rawWidth": 2,
"rawHeight": 2,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

View File

@@ -1,38 +0,0 @@
{
"ver": "2.3.7",
"uuid": "70364224-9941-46cb-9c14-263fa45363b9",
"importer": "texture",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 170,
"height": 153,
"platformSettings": {},
"subMetas": {
"zhizhuxia": {
"ver": "1.0.6",
"uuid": "6e0882b8-ac14-4ee7-b636-cb22032c50b1",
"importer": "sprite-frame",
"rawTextureUuid": "70364224-9941-46cb-9c14-263fa45363b9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 170,
"height": 153,
"rawWidth": 170,
"rawHeight": 153,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}

View File

@@ -1,6 +0,0 @@
{
"ver": "2.1.2",
"uuid": "e68a8476-8374-4400-ae48-d3eae5df38ea",
"importer": "animation-clip",
"subMetas": {}
}