添加粒子效果

This commit is contained in:
2025-06-05 20:00:16 +08:00
parent 04ffc99c1a
commit a5880633a6
23 changed files with 428 additions and 29 deletions

View File

@@ -7,8 +7,8 @@
"top": 0,
"bottom": 0,
"name": "Scene2D",
"width": 1920,
"height": 1080,
"width": 1080,
"height": 1920,
"_$comp": [
{
"_$type": "7bad1742-6eed-4d8d-81c0-501dc5bf03d6",
@@ -27,12 +27,61 @@
}
],
"_$child": [
{
"_$id": "02keq35w",
"_$type": "Scene3D",
"name": "Scene3D",
"skyRenderer": {
"meshType": "dome"
},
"ambientColor": {
"_$type": "Color",
"r": 0.212,
"g": 0.227,
"b": 0.259
},
"_$child": [
{
"_$id": "ynv9f3r4",
"_$type": "Camera",
"name": "Camera",
"transform": {
"localPosition": {
"_$type": "Vector3",
"y": 2,
"z": 2
}
},
"orthographic": true,
"nearPlane": 0.3,
"farPlane": 20,
"clearColor": {
"_$type": "Color",
"r": 0,
"g": 0,
"b": 0,
"a": 0
},
"renderTarget": {
"_$uuid": "c664507a-67fa-47cb-802f-dd7a41c0029c",
"_$type": "RenderTexture"
}
},
{
"_$id": "3d0vjlm1",
"_$prefab": "95371d68-d67d-4a76-b586-e77dc05187da",
"name": "dc_particle3D_1",
"active": true,
"layer": 0
}
]
},
{
"_$id": "4rxcl2w3",
"_$type": "Panel",
"name": "UIRoot",
"width": 1920,
"height": 1080,
"width": 1080,
"height": 1920,
"_mouseState": 2,
"left": 0,
"right": 0,
@@ -43,8 +92,8 @@
"_$id": "2668mvhf",
"_$type": "Image",
"name": "mask",
"width": 1920,
"height": 1080,
"width": 1080,
"height": 1920,
"alpha": 0,
"left": 0,
"right": 0,
@@ -57,8 +106,8 @@
"_$id": "c5p596do",
"_$type": "Box",
"name": "btn_clean",
"x": 860,
"y": 1020,
"x": 440,
"y": 1860,
"width": 200,
"height": 60,
"visible": false,