From 561485f84ef781a0fa7271157eefa320ae378ff5 Mon Sep 17 00:00:00 2001 From: dgflash Date: Sun, 26 Oct 2025 22:10:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=9C=80=E6=96=B0=E6=A1=86?= =?UTF-8?q?=E6=9E=B6API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/bundle/common/.common.md | 5 + assets/bundle/common/prefab/alert.prefab | 155 +++++++------- assets/bundle/common/prefab/alert.prefab.meta | 2 +- assets/bundle/common/prefab/confirm.prefab | 190 ++++++++---------- .../bundle/common/prefab/confirm.prefab.meta | 2 +- assets/bundle/common/prefab/mask.prefab | 2 +- assets/bundle/common/prefab/mask.prefab.meta | 2 +- assets/bundle/common/prefab/notify.prefab | 6 +- .../bundle/common/prefab/notify.prefab.meta | 2 +- assets/bundle/common/prefab/wait.prefab | 111 +++++----- assets/bundle/common/prefab/wait.prefab.meta | 2 +- assets/bundle/common/texture.meta | 2 +- .../bundle/common/texture/auto-atlas.pac.meta | 2 +- .../bundle/common/texture/bg_window.png.meta | 12 +- assets/bundle/common/texture/btn_ok.png.meta | 12 +- assets/bundle/common/texture/loading.png.meta | 12 +- assets/bundle/common/texture/toast.png.meta | 12 +- assets/script/game/initialize/bll/InitRes.ts | 10 - 18 files changed, 238 insertions(+), 303 deletions(-) create mode 100644 assets/bundle/common/.common.md diff --git a/assets/bundle/common/.common.md b/assets/bundle/common/.common.md new file mode 100644 index 0000000..4415aac --- /dev/null +++ b/assets/bundle/common/.common.md @@ -0,0 +1,5 @@ +框架必备资源目录 + +注: +1. 尽可能不要在此目录中添加新功能资源,因此目录会在游戏打开时就加载,避免资源多玩家等待过程较长 +2. 开发游戏时,可替换此目录中所有预制皮肤、与修改动画资源效果 \ No newline at end of file diff --git a/assets/bundle/common/prefab/alert.prefab b/assets/bundle/common/prefab/alert.prefab index ea3ba11..b35df95 100644 --- a/assets/bundle/common/prefab/alert.prefab +++ b/assets/bundle/common/prefab/alert.prefab @@ -31,17 +31,17 @@ "_active": true, "_components": [ { - "__id__": 37 + "__id__": 36 }, { - "__id__": 39 + "__id__": 38 }, { - "__id__": 41 + "__id__": 40 } ], "_prefab": { - "__id__": 43 + "__id__": 42 }, "_lpos": { "__type__": "cc.Vec3", @@ -74,7 +74,7 @@ }, { "__type__": "cc.Node", - "_name": "lab_title", + "_name": "labTitle", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -256,7 +256,7 @@ }, { "__type__": "cc.Node", - "_name": "lab_content", + "_name": "labContent", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -438,7 +438,7 @@ }, { "__type__": "cc.Node", - "_name": "btn_ok", + "_name": "btnOk", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -461,11 +461,11 @@ "__id__": 31 }, { - "__id__": 34 + "__id__": 33 } ], "_prefab": { - "__id__": 36 + "__id__": 35 }, "_lpos": { "__type__": "cc.Vec3", @@ -498,7 +498,7 @@ }, { "__type__": "cc.Node", - "_name": "lab_ok", + "_name": "labOk", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -594,9 +594,9 @@ "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, + "r": 255, + "g": 255, + "b": 255, "a": 255 }, "_string": "确认", @@ -729,7 +729,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "0877fdd4-5605-41e6-b643-be4904d506b7@f9941", + "__uuid__": "56a0bfc3-686d-4e85-bb26-5f5a6855ae06@f9941", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -752,8 +752,8 @@ "fileId": "3dr+KXw4lC5oS1lceuHGsr" }, { - "__type__": "cc.Button", - "_name": "btn_ok