优化 Demo 与 Docs 效果

This commit is contained in:
SmallMain
2022-06-21 20:44:56 +08:00
parent 6e7dbcb41a
commit 830116c953
135 changed files with 31103 additions and 30505 deletions

View File

@@ -0,0 +1,89 @@
{
"paths": {
"e3EaADwKFP+ZmDIVTeFF63": [
"home",
"cc.Prefab"
]
},
"uuids": [
"e3EaADwKFP+ZmDIVTeFF63",
"ecpdLyjvZBwrvm+cedCcQy",
"312JYturtOx74Zjp9UpOqZ",
"e7q6FL+VZEgLJUjVeDLic/",
"29FYIk+N1GYaeWH/q1NxQO",
"68J8oyAQdFUrqy37MXmbtE",
"90AErWL21A4ZPvtxQ3XG8G",
"34Wm35ZlJBApgKytyVFWhX",
"7a/QZLET9IDreTiBfRn2PD",
"93dM6KrkZCf5dgNpQwf7T6",
"5cO7kybDxGj4ipyMYdRYZB",
"5f5dyqtRNNxaFmVzYns6FZ",
"a2MjXRFdtLlYQ5ouAFv/+R",
"02kcE0s9pAmLe145ftvpR/",
"56fc2Ai/RFNYpaMT8crweK",
"71VhFCTINJM6/Ky3oX9nBT",
"d2kHe6FidKcpV5e1aiNTQM",
"73oJA92A5OPKpn+ZlUPAj1"
],
"scenes": {},
"redirect": [
"ecpdLyjvZBwrvm+cedCcQy",
0,
"34Wm35ZlJBApgKytyVFWhX",
1,
"7a/QZLET9IDreTiBfRn2PD",
0,
"93dM6KrkZCf5dgNpQwf7T6",
1,
"5cO7kybDxGj4ipyMYdRYZB",
2,
"5f5dyqtRNNxaFmVzYns6FZ",
2,
"a2MjXRFdtLlYQ5ouAFv/+R",
2
],
"deps": [
"internal",
"common",
"main"
],
"packs": {
"025f75dc8": [
"02kcE0s9pAmLe145ftvpR/",
"29FYIk+N1GYaeWH/q1NxQO",
"312JYturtOx74Zjp9UpOqZ",
"56fc2Ai/RFNYpaMT8crweK",
"68J8oyAQdFUrqy37MXmbtE",
"71VhFCTINJM6/Ky3oX9nBT",
"73oJA92A5OPKpn+ZlUPAj1",
"90AErWL21A4ZPvtxQ3XG8G",
"d2kHe6FidKcpV5e1aiNTQM",
"e3EaADwKFP+ZmDIVTeFF63",
"e7q6FL+VZEgLJUjVeDLic/"
]
},
"name": "home",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false,
"versions": {
"import": [
"025f75dc8",
"515a0"
],
"native": [
"02kcE0s9pAmLe145ftvpR/",
"b7a3e",
"56fc2Ai/RFNYpaMT8crweK",
"5f1d9",
"71VhFCTINJM6/Ky3oX9nBT",
"c06a9",
"73oJA92A5OPKpn+ZlUPAj1",
"7661e",
"d2kHe6FidKcpV5e1aiNTQM",
"65417"
]
}
}

View File

@@ -1,30 +0,0 @@
{
"paths": {
"e3EaADwKFP+ZmDIVTeFF63": [
"home",
"cc.Prefab"
]
},
"uuids": [
"e3EaADwKFP+ZmDIVTeFF63"
],
"scenes": {},
"redirect": [
"e3EaADwKFP+ZmDIVTeFF63",
0
],
"deps": [
"main"
],
"packs": {},
"name": "home",
"importBase": "import",
"nativeBase": "native",
"debug": true,
"isZip": false,
"encrypted": false,
"versions": {
"import": [],
"native": []
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -85,6 +85,9 @@ window.__require = function e(t, n, r) {
_this.enableMultiRender = toggle.isChecked;
_this.multiRenderUpdate();
});
this.objectNumSlider.progress = .02;
var offset = (this.nums[1] - this.nums[0]) * this.objectNumSlider.progress;
this.num = this.nums[0] + Math.ceil(offset);
this.numUpdate();
this.multiRenderUpdate();
};
@@ -114,7 +117,7 @@ window.__require = function e(t, n, r) {
}
this.objects.addChild(node);
node.position = cc.v3(Math.floor(Math.random() * this.objects.width), Math.floor(Math.random() * this.objects.height));
cc.tween(node).by(1, {
cc.tween(node).by(3, {
angle: 360
}).repeatForever().start();
};

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB