From 24eb72ef99d12cb04d4d5c54f77a2ed5e7cde61e Mon Sep 17 00:00:00 2001 From: panFD Date: Sun, 26 Jul 2026 14:48:43 +0800 Subject: [PATCH] =?UTF-8?q?feat(map):=20=E4=B8=BA=E4=B8=89=E7=B1=BB?= =?UTF-8?q?=E5=95=86=E5=BA=97=E5=8D=A1=E7=89=8C=E7=BB=84=E4=BB=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=8A=A8=E7=94=BB=E4=BA=A4=E4=BA=92=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 新增按钮按下/取消缩放反馈、点击回弹动画 2. 新增卡牌入场淡入放大、购买放大淡出、刷新缩小淡出动画 3. 优化卡片切换逻辑,支持按状态播放对应动画 4. 同步重构了ItemListComp、EquipListComp、SCardComp三个组件 5. 删除了废弃的装备预制体元数据文件 --- assets/resources/gui/element/cEquip.prefab | 1979 +++++++++++- assets/resources/gui/element/cSkill.prefab | 2285 ++++++++++---- assets/resources/gui/element/equip-001.prefab | 2777 ----------------- .../gui/element/equip-001.prefab.meta | 13 - assets/script/game/map/EquipListComp.ts | 143 +- assets/script/game/map/ItemListComp.ts | 143 +- assets/script/game/map/SCardComp.ts | 160 +- 7 files changed, 4150 insertions(+), 3350 deletions(-) delete mode 100644 assets/resources/gui/element/equip-001.prefab delete mode 100644 assets/resources/gui/element/equip-001.prefab.meta diff --git a/assets/resources/gui/element/cEquip.prefab b/assets/resources/gui/element/cEquip.prefab index ce37a1d8..0cbefa14 100644 --- a/assets/resources/gui/element/cEquip.prefab +++ b/assets/resources/gui/element/cEquip.prefab @@ -47,7 +47,7 @@ } ], "_prefab": { - "__id__": 157 + "__id__": 243 }, "_lpos": { "__type__": "cc.Vec3", @@ -2524,7 +2524,9 @@ "icon_node": { "__id__": 149 }, - "bg_node": null, + "bg_node": { + "__id__": 157 + }, "name_label": { "__id__": 24 }, @@ -2540,7 +2542,9 @@ "level_label": { "__id__": 30 }, - "buy_node": null, + "buy_node": { + "__id__": 114 + }, "_id": "" }, { @@ -2725,6 +2729,1946 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 40 + }, + "_children": [ + { + "__id__": 158 + }, + { + "__id__": 174 + }, + { + "__id__": 190 + }, + { + "__id__": 206 + }, + { + "__id__": 222 + } + ], + "_active": true, + "_components": [ + { + "__id__": 238 + }, + { + "__id__": 240 + } + ], + "_prefab": { + "__id__": 242 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "green", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 159 + } + ], + "_active": true, + "_components": [ + { + "__id__": 167 + }, + { + "__id__": 169 + }, + { + "__id__": 171 + } + ], + "_prefab": { + "__id__": 173 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 158 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 160 + }, + { + "__id__": 162 + }, + { + "__id__": 164 + } + ], + "_prefab": { + "__id__": 166 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 159 + }, + "_enabled": true, + "__prefab": { + "__id__": 161 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 193, + "height": 193 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7eXE020LJO2re5wfhWMR+x" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 159 + }, + "_enabled": true, + "__prefab": { + "__id__": 163 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d1286", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f0Vdz2o2lPFLwXlW5JPYW4" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 159 + }, + "_enabled": true, + "__prefab": { + "__id__": 165 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5fCWyWmApMNqTCR3sFhtR8" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7dxLMTd/xC/68jt7Lwr0wN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 158 + }, + "_enabled": true, + "__prefab": { + "__id__": 168 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 370 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "01RZgHEk5DOImBHnPTZbSl" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 158 + }, + "_enabled": true, + "__prefab": { + "__id__": 170 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 158, + "g": 255, + "b": 134, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "83RO3P8ctM+bi+TCfBHkKM" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 158 + }, + "_enabled": true, + "__prefab": { + "__id__": 172 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "baf1d9tPZAd4fOS6WGAm8G" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c8GUMPCaFLxq7iBjkJgK3j", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 175 + } + ], + "_active": true, + "_components": [ + { + "__id__": 183 + }, + { + "__id__": 185 + }, + { + "__id__": 187 + } + ], + "_prefab": { + "__id__": 189 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 174 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 176 + }, + { + "__id__": 178 + }, + { + "__id__": 180 + } + ], + "_prefab": { + "__id__": 182 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 175 + }, + "_enabled": true, + "__prefab": { + "__id__": 177 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 193, + "height": 193 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bdhTW5lJ9PJamgUN/UmnC2" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 175 + }, + "_enabled": true, + "__prefab": { + "__id__": 179 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@654c0", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "74QdiEVndDl5Vqf5Hjj8qY" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 175 + }, + "_enabled": true, + "__prefab": { + "__id__": 181 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "17NmLP2VJDYqeNommRKja0" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "05/ViZ4x5CsKTMBvYgTNv7", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 174 + }, + "_enabled": true, + "__prefab": { + "__id__": 184 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 370 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cdEeG/ubFJgqKs1MdM6xd9" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 174 + }, + "_enabled": true, + "__prefab": { + "__id__": 186 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 92, + "g": 185, + "b": 247, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9aNUtJ9bNDS621z3LovfsY" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 174 + }, + "_enabled": true, + "__prefab": { + "__id__": 188 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fbhcN/JhJD26edWcEf8KiQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "93fFoXu3BBYqu4RLG2YPon", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "purple", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 191 + } + ], + "_active": true, + "_components": [ + { + "__id__": 199 + }, + { + "__id__": 201 + }, + { + "__id__": 203 + } + ], + "_prefab": { + "__id__": 205 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 190 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 192 + }, + { + "__id__": 194 + }, + { + "__id__": 196 + } + ], + "_prefab": { + "__id__": 198 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 191 + }, + "_enabled": true, + "__prefab": { + "__id__": 193 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 193, + "height": 193 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "31upVgp9hMgqBxdoieIwVm" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 191 + }, + "_enabled": true, + "__prefab": { + "__id__": 195 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@900a1", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "41VXMESAJKg5kx7y+LyKEN" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 191 + }, + "_enabled": true, + "__prefab": { + "__id__": 197 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "72RgzpFspPSIvEm12Te+NC" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "28zhIq1rJFoqgXVfHbZVku", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 190 + }, + "_enabled": true, + "__prefab": { + "__id__": 200 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 370 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "01Tb8sF1pD1K401C16wfxs" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 190 + }, + "_enabled": true, + "__prefab": { + "__id__": 202 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 228, + "g": 194, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "05Zwe5oaRITayhS7nyUA3W" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 190 + }, + "_enabled": true, + "__prefab": { + "__id__": 204 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f8m897RgFJ3Yfwjs+9LSxo" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f815Ec4HdHl7lhEUTBr/l3", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "red", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 207 + } + ], + "_active": true, + "_components": [ + { + "__id__": 215 + }, + { + "__id__": 217 + }, + { + "__id__": 219 + } + ], + "_prefab": { + "__id__": 221 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 206 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 208 + }, + { + "__id__": 210 + }, + { + "__id__": 212 + } + ], + "_prefab": { + "__id__": 214 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 207 + }, + "_enabled": true, + "__prefab": { + "__id__": 209 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 193, + "height": 193 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ce0/u2yctKCZkL+Ru0cbmo" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 207 + }, + "_enabled": true, + "__prefab": { + "__id__": 211 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@4f590", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "472fPUEeZJBZ0we0ZqBZLT" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 207 + }, + "_enabled": true, + "__prefab": { + "__id__": 213 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9aKMLDvMxIdL5mGpxApN/a" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ceKD1JLx5OXYWUaSeK4/8B", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 206 + }, + "_enabled": true, + "__prefab": { + "__id__": 216 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 370 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c82typVIdBJJabkX/s0ZkZ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 206 + }, + "_enabled": true, + "__prefab": { + "__id__": 218 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 179, + "b": 179, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a35oaIyWZAyaqqaIo3ecgQ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 206 + }, + "_enabled": true, + "__prefab": { + "__id__": 220 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "97QhKRqORBu7cZbfTOKHZx" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "51ns/anqVO87NRv6DMzJKj", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "yellow", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 223 + } + ], + "_active": true, + "_components": [ + { + "__id__": 231 + }, + { + "__id__": 233 + }, + { + "__id__": 235 + } + ], + "_prefab": { + "__id__": 237 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 222 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 224 + }, + { + "__id__": 226 + }, + { + "__id__": 228 + } + ], + "_prefab": { + "__id__": 230 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": { + "__id__": 225 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 193, + "height": 193 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4cdo17U+VOh4SgXfb/+Gk7" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": { + "__id__": 227 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@2eb28", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "74wQe518NJtomw3BaPS3RF" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": { + "__id__": 229 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "54DttIreFHwYJkJN4N0RTP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f0arVt0ElB87nq5CoNVAt4", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 222 + }, + "_enabled": true, + "__prefab": { + "__id__": 232 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 370 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "68Zpxa86JHMbiKqxEUYo0V" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 222 + }, + "_enabled": true, + "__prefab": { + "__id__": 234 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 246, + "b": 139, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3uQv7YKlBh7VPyZ5JRsEQ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 222 + }, + "_enabled": true, + "__prefab": { + "__id__": 236 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2ftKNnmZdJtKhaRtZLBILA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d3r4ZGziNEz77IzWW7ndja", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 157 + }, + "_enabled": true, + "__prefab": { + "__id__": 239 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 90, + "height": 90 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "44Ed4eH0lI5Kssdq2dPzke" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 157 + }, + "_enabled": true, + "__prefab": { + "__id__": 241 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 80, + "_originalHeight": 80, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "18zuChgCtJMJcsGZMZXNa3" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c8niXKCPZJkZO13m9+xJNN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.PrefabInfo", "root": { @@ -2737,7 +4681,10 @@ "instance": null, "targetOverrides": [ { - "__id__": 158 + "__id__": 244 + }, + { + "__id__": 246 } ], "nestedPrefabInstanceRoots": [ @@ -2765,7 +4712,7 @@ "__id__": 40 }, "targetInfo": { - "__id__": 159 + "__id__": 245 } }, { @@ -2773,5 +4720,27 @@ "localID": [ "a33ReyWcpAoZY5ieotS6Ir" ] + }, + { + "__type__": "cc.TargetOverrideInfo", + "source": { + "__id__": 147 + }, + "sourceInfo": null, + "propertyPath": [ + "bg_node" + ], + "target": { + "__id__": 40 + }, + "targetInfo": { + "__id__": 247 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "c8niXKCPZJkZO13m9+xJNN" + ] } ] \ No newline at end of file diff --git a/assets/resources/gui/element/cSkill.prefab b/assets/resources/gui/element/cSkill.prefab index 630fc400..3f7e94fc 100644 --- a/assets/resources/gui/element/cSkill.prefab +++ b/assets/resources/gui/element/cSkill.prefab @@ -47,7 +47,7 @@ } ], "_prefab": { - "__id__": 189 + "__id__": 243 }, "_lpos": { "__type__": "cc.Vec3", @@ -2521,19 +2521,29 @@ "__prefab": { "__id__": 148 }, - "name_node": { - "__id__": 21 - }, "icon_node": { "__id__": 149 }, - "cost_node": { + "bg_node": { "__id__": 157 }, - "Ckind_node": null, - "BG_node": null, - "info_node": { - "__id__": 82 + "name_label": { + "__id__": 24 + }, + "fied1": { + "__id__": 86 + }, + "fied2": { + "__id__": 94 + }, + "fied3": { + "__id__": 102 + }, + "level_label": { + "__id__": 30 + }, + "buy_node": { + "__id__": 114 }, "_id": "" }, @@ -2721,473 +2731,44 @@ }, { "__type__": "cc.Node", - "_name": "num", + "_name": "bg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 184 - }, - { - "__id__": 186 - } - ], - "_prefab": { - "__id__": 188 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 13.5, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "cost", - "_objFlags": 0, - "__editorExtras__": { - "mountedRoot": null - }, - "_parent": { - "__id__": 159 + "__id__": 40 }, "_children": [ - { - "__id__": 173 - }, - { - "__id__": 157 - } - ], - "_active": true, - "_components": [ - { - "__id__": 179 - }, - { - "__id__": 181 - } - ], - "_prefab": { - "__id__": 183 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Node", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 114 - }, - "_children": [ - { - "__id__": 160 - }, { "__id__": 158 - } - ], - "_active": true, - "_components": [ - { - "__id__": 166 }, - { - "__id__": 168 - }, - { - "__id__": 170 - } - ], - "_prefab": { - "__id__": 172 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0.5124999999999993, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Label", - "_objFlags": 0, - "__editorExtras__": { - "mountedRoot": null - }, - "_parent": { - "__id__": 159 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 161 - }, - { - "__id__": 163 - } - ], - "_prefab": { - "__id__": 165 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 15, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 160 - }, - "_enabled": true, - "__prefab": { - "__id__": 162 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 54, - "height": 35.5 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a4sqCI1VpI8YJnOwF8QknG" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 160 - }, - "_enabled": true, - "__prefab": { - "__id__": 164 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "刷新", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 25, - "_fontSize": 25, - "_fontFamily": "Arial", - "_lineHeight": 25, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": true, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "cea0FpTiVBEprBOaYQFSav" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "28D4tFgVRPwbG9iXo3cRl7", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 159 - }, - "_enabled": true, - "__prefab": { - "__id__": 167 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 130, - "height": 30 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a2VyIJeeVKFodz6H9a3PKt" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 159 - }, - "_enabled": true, - "__prefab": { - "__id__": 169 - }, - "_alignFlags": 45, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 9.4875, - "_bottom": 10.5125, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 100, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "71o6/V/3VMMZ/CnSZBIkZ0" - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 159 - }, - "_enabled": true, - "__prefab": { - "__id__": 171 - }, - "_resizeMode": 1, - "_layoutType": 2, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 0, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "78A6Dkiv9F64eccErjGFxK" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "59HmW0DT5L74QSaNhJXq7r", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "gold", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ { "__id__": 174 }, { - "__id__": 176 + "__id__": 190 + }, + { + "__id__": 206 + }, + { + "__id__": 222 + } + ], + "_active": true, + "_components": [ + { + "__id__": 238 + }, + { + "__id__": 240 } ], "_prefab": { - "__id__": 178 + "__id__": 242 }, "_lpos": { "__type__": "cc.Vec3", - "x": -7.5615234375, + "x": 0, "y": 0, "z": 0 }, @@ -3214,22 +2795,132 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "green", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 159 + } + ], + "_active": true, + "_components": [ + { + "__id__": 167 + }, + { + "__id__": 169 + }, + { + "__id__": 171 + } + ], + "_prefab": { + "__id__": 173 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 158 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 160 + }, + { + "__id__": 162 + }, + { + "__id__": 164 + } + ], + "_prefab": { + "__id__": 166 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 173 + "__id__": 159 }, "_enabled": true, "__prefab": { - "__id__": 175 + "__id__": 161 }, "_contentSize": { "__type__": "cc.Size", - "width": 27, - "height": 27 + "width": 193, + "height": 193 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3240,7 +2931,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "39O3Ak8hhKxKF4zeoDUgVQ" + "fileId": "7eXE020LJO2re5wfhWMR+x" }, { "__type__": "cc.Sprite", @@ -3248,11 +2939,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 173 + "__id__": 159 }, "_enabled": true, "__prefab": { - "__id__": 177 + "__id__": 163 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3265,10 +2956,370 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@ec5a5", + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d1286", "__expectedType__": "cc.SpriteFrame" }, - "_type": 0, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f0Vdz2o2lPFLwXlW5JPYW4" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 159 + }, + "_enabled": true, + "__prefab": { + "__id__": 165 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5fCWyWmApMNqTCR3sFhtR8" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7dxLMTd/xC/68jt7Lwr0wN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 158 + }, + "_enabled": true, + "__prefab": { + "__id__": 168 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 370 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "01RZgHEk5DOImBHnPTZbSl" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 158 + }, + "_enabled": true, + "__prefab": { + "__id__": 170 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 158, + "g": 255, + "b": 134, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "83RO3P8ctM+bi+TCfBHkKM" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 158 + }, + "_enabled": true, + "__prefab": { + "__id__": 172 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "baf1d9tPZAd4fOS6WGAm8G" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c8GUMPCaFLxq7iBjkJgK3j", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 175 + } + ], + "_active": true, + "_components": [ + { + "__id__": 183 + }, + { + "__id__": 185 + }, + { + "__id__": 187 + } + ], + "_prefab": { + "__id__": 189 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 174 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 176 + }, + { + "__id__": 178 + }, + { + "__id__": 180 + } + ], + "_prefab": { + "__id__": 182 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 175 + }, + "_enabled": true, + "__prefab": { + "__id__": 177 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 193, + "height": 193 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bdhTW5lJ9PJamgUN/UmnC2" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 175 + }, + "_enabled": true, + "__prefab": { + "__id__": 179 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@654c0", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -3285,7 +3336,43 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "fb5HbJnLdPp5vG2ekEjx0W" + "fileId": "74QdiEVndDl5Vqf5Hjj8qY" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 175 + }, + "_enabled": true, + "__prefab": { + "__id__": 181 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "17NmLP2VJDYqeNommRKja0" }, { "__type__": "cc.PrefabInfo", @@ -3295,7 +3382,7 @@ "asset": { "__id__": 0 }, - "fileId": "6aPcHyYFpJtqTknWOBQjrH", + "fileId": "05/ViZ4x5CsKTMBvYgTNv7", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3306,16 +3393,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 174 }, "_enabled": true, "__prefab": { - "__id__": 180 + "__id__": 184 }, "_contentSize": { "__type__": "cc.Size", - "width": 42.123046875, - "height": 30 + "width": 370, + "height": 370 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3326,45 +3413,91 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "e03E8E9MNHWqlyzsRwdhQj" + "fileId": "cdEeG/ubFJgqKs1MdM6xd9" }, { - "__type__": "cc.Layout", + "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 174 }, "_enabled": true, "__prefab": { - "__id__": 182 + "__id__": 186 }, - "_resizeMode": 1, - "_layoutType": 1, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 92, + "g": 185, + "b": 247, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" }, - "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 0, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": false, "_id": "" }, { "__type__": "cc.CompPrefabInfo", - "fileId": "306oiXmUNKlqXJd/x4wic4" + "fileId": "9aNUtJ9bNDS621z3LovfsY" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 174 + }, + "_enabled": true, + "__prefab": { + "__id__": 188 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fbhcN/JhJD26edWcEf8KiQ" }, { "__type__": "cc.PrefabInfo", @@ -3374,27 +3507,137 @@ "asset": { "__id__": 0 }, - "fileId": "deRkP/BNlLX52OUGvpThIO", + "fileId": "93fFoXu3BBYqu4RLG2YPon", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "purple", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 191 + } + ], + "_active": true, + "_components": [ + { + "__id__": 199 + }, + { + "__id__": 201 + }, + { + "__id__": 203 + } + ], + "_prefab": { + "__id__": 205 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 190 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 192 + }, + { + "__id__": 194 + }, + { + "__id__": 196 + } + ], + "_prefab": { + "__id__": 198 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 157 + "__id__": 191 }, "_enabled": true, "__prefab": { - "__id__": 185 + "__id__": 193 }, "_contentSize": { "__type__": "cc.Size", - "width": 15.123046875, - "height": 54.4 + "width": 193, + "height": 193 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3405,19 +3648,19 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "3dJ0AU7pFORpdUaZBM3Z/u" + "fileId": "31upVgp9hMgqBxdoieIwVm" }, { - "__type__": "cc.Label", + "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 157 + "__id__": 191 }, "_enabled": true, "__prefab": { - "__id__": 187 + "__id__": 195 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3429,51 +3672,67 @@ "b": 255, "a": 255 }, - "_string": "2", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": true, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@900a1", + "__expectedType__": "cc.SpriteFrame" }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { "__type__": "cc.Vec2", - "x": 2, - "y": 2 + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" }, - "_shadowBlur": 2, "_id": "" }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9deqZrZeZEEKkvtD7QlGHO" + "fileId": "41VXMESAJKg5kx7y+LyKEN" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 191 + }, + "_enabled": true, + "__prefab": { + "__id__": 197 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "72RgzpFspPSIvEm12Te+NC" }, { "__type__": "cc.PrefabInfo", @@ -3483,7 +3742,929 @@ "asset": { "__id__": 0 }, - "fileId": "bfLo+sXdxPSY6pJ+TTshHA", + "fileId": "28zhIq1rJFoqgXVfHbZVku", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 190 + }, + "_enabled": true, + "__prefab": { + "__id__": 200 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 370 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "01Tb8sF1pD1K401C16wfxs" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 190 + }, + "_enabled": true, + "__prefab": { + "__id__": 202 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 228, + "g": 194, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "05Zwe5oaRITayhS7nyUA3W" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 190 + }, + "_enabled": true, + "__prefab": { + "__id__": 204 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f8m897RgFJ3Yfwjs+9LSxo" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f815Ec4HdHl7lhEUTBr/l3", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "red", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 207 + } + ], + "_active": true, + "_components": [ + { + "__id__": 215 + }, + { + "__id__": 217 + }, + { + "__id__": 219 + } + ], + "_prefab": { + "__id__": 221 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 206 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 208 + }, + { + "__id__": 210 + }, + { + "__id__": 212 + } + ], + "_prefab": { + "__id__": 214 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 207 + }, + "_enabled": true, + "__prefab": { + "__id__": 209 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 193, + "height": 193 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ce0/u2yctKCZkL+Ru0cbmo" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 207 + }, + "_enabled": true, + "__prefab": { + "__id__": 211 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@4f590", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "472fPUEeZJBZ0we0ZqBZLT" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 207 + }, + "_enabled": true, + "__prefab": { + "__id__": 213 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9aKMLDvMxIdL5mGpxApN/a" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ceKD1JLx5OXYWUaSeK4/8B", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 206 + }, + "_enabled": true, + "__prefab": { + "__id__": 216 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 370 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c82typVIdBJJabkX/s0ZkZ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 206 + }, + "_enabled": true, + "__prefab": { + "__id__": 218 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 179, + "b": 179, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a35oaIyWZAyaqqaIo3ecgQ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 206 + }, + "_enabled": true, + "__prefab": { + "__id__": 220 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "97QhKRqORBu7cZbfTOKHZx" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "51ns/anqVO87NRv6DMzJKj", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "yellow", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 157 + }, + "_children": [ + { + "__id__": 223 + } + ], + "_active": true, + "_components": [ + { + "__id__": 231 + }, + { + "__id__": 233 + }, + { + "__id__": 235 + } + ], + "_prefab": { + "__id__": 237 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.2, + "y": 0.2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "SkillFrame_01_Border_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 222 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 224 + }, + { + "__id__": 226 + }, + { + "__id__": 228 + } + ], + "_prefab": { + "__id__": 230 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 2, + "y": 2, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": { + "__id__": 225 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 193, + "height": 193 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4cdo17U+VOh4SgXfb/+Gk7" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": { + "__id__": 227 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@2eb28", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "74wQe518NJtomw3BaPS3RF" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 223 + }, + "_enabled": true, + "__prefab": { + "__id__": 229 + }, + "_alignFlags": 45, + "_target": null, + "_left": -8, + "_right": -8, + "_top": -8, + "_bottom": -8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 56, + "_originalHeight": 58, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "54DttIreFHwYJkJN4N0RTP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f0arVt0ElB87nq5CoNVAt4", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 222 + }, + "_enabled": true, + "__prefab": { + "__id__": 232 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 370 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "68Zpxa86JHMbiKqxEUYo0V" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 222 + }, + "_enabled": true, + "__prefab": { + "__id__": 234 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 246, + "b": 139, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3uQv7YKlBh7VPyZ5JRsEQ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 222 + }, + "_enabled": true, + "__prefab": { + "__id__": 236 + }, + "_alignFlags": 45, + "_target": null, + "_left": 8, + "_right": 8, + "_top": 8, + "_bottom": 8, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 52, + "_originalHeight": 52, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2ftKNnmZdJtKhaRtZLBILA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d3r4ZGziNEz77IzWW7ndja", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 157 + }, + "_enabled": true, + "__prefab": { + "__id__": 239 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 90, + "height": 90 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "44Ed4eH0lI5Kssdq2dPzke" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 157 + }, + "_enabled": true, + "__prefab": { + "__id__": 241 + }, + "_alignFlags": 45, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 80, + "_originalHeight": 80, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "18zuChgCtJMJcsGZMZXNa3" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c8niXKCPZJkZO13m9+xJNN", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -3500,10 +4681,10 @@ "instance": null, "targetOverrides": [ { - "__id__": 190 + "__id__": 244 }, { - "__id__": 192 + "__id__": 246 } ], "nestedPrefabInstanceRoots": [ @@ -3531,7 +4712,7 @@ "__id__": 40 }, "targetInfo": { - "__id__": 191 + "__id__": 245 } }, { @@ -3547,19 +4728,19 @@ }, "sourceInfo": null, "propertyPath": [ - "cost_node" + "bg_node" ], "target": { - "__id__": 114 + "__id__": 40 }, "targetInfo": { - "__id__": 193 + "__id__": 247 } }, { "__type__": "cc.TargetInfo", "localID": [ - "bfLo+sXdxPSY6pJ+TTshHA" + "c8niXKCPZJkZO13m9+xJNN" ] } ] \ No newline at end of file diff --git a/assets/resources/gui/element/equip-001.prefab b/assets/resources/gui/element/equip-001.prefab deleted file mode 100644 index 974b7de9..00000000 --- a/assets/resources/gui/element/equip-001.prefab +++ /dev/null @@ -1,2777 +0,0 @@ -[ - { - "__type__": "cc.Prefab", - "_name": "equip-001", - "_objFlags": 0, - "__editorExtras__": {}, - "_native": "", - "data": { - "__id__": 1 - }, - "optimizationPolicy": 0, - "persistent": false - }, - { - "__type__": "cc.Node", - "_name": "equip-001", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": null, - "_children": [ - { - "__id__": 2 - }, - { - "__id__": 20 - }, - { - "__id__": 40 - }, - { - "__id__": 82 - }, - { - "__id__": 114 - } - ], - "_active": true, - "_components": [ - { - "__id__": 143 - }, - { - "__id__": 145 - }, - { - "__id__": 147 - } - ], - "_prefab": { - "__id__": 157 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_prefab": { - "__id__": 3 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 2 - }, - "asset": { - "__uuid__": "555f7387-1025-41a8-a2a8-ff61c76004a3", - "__expectedType__": "cc.Prefab" - }, - "fileId": "50T0YGiGBH7qZZFeATiEP+", - "instance": { - "__id__": 4 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "ddJY1fUgJFHKBICUhWrsdE", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 5 - }, - { - "__id__": 7 - }, - { - "__id__": 8 - }, - { - "__id__": 9 - }, - { - "__id__": 10 - }, - { - "__id__": 12 - }, - { - "__id__": 14 - }, - { - "__id__": 16 - }, - { - "__id__": 18 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 6 - }, - "propertyPath": [ - "_name" - ], - "value": "popup" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "50T0YGiGBH7qZZFeATiEP+" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 6 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 6 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 6 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 11 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 230, - "height": 300 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "50XxsJbrFCN4H9VEVO1jhI" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 13 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 230, - "height": 300 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "89vNfbOw5OYLiuCSle5Cni" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 15 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 460, - "height": 600 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "3dNz0H16xGpJqDZ5588nMV" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 17 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 428, - "height": 568 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "dbPtEc0lVC6b6/8Lozo2Vm" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 19 - }, - "propertyPath": [ - "_color" - ], - "value": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "fa5RaYmDVG06zPrC6FET3z" - ] - }, - { - "__type__": "cc.Node", - "_name": "name", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 21 - }, - { - "__id__": 27 - } - ], - "_active": true, - "_components": [ - { - "__id__": 33 - }, - { - "__id__": 35 - }, - { - "__id__": 37 - } - ], - "_prefab": { - "__id__": 39 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 122.888, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "name", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 20 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 22 - }, - { - "__id__": 24 - } - ], - "_prefab": { - "__id__": 26 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -64.2847453016989, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 21 - }, - "_enabled": true, - "__prefab": { - "__id__": 23 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 84, - "height": 54.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9dgncJRHNM0oZi+Pb5hDPM" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 21 - }, - "_enabled": true, - "__prefab": { - "__id__": 25 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "武器名称", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": true, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "1dqRfyNidFnI0Rw533q1kb" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "64sBr99yBIPIbpxdil4ZY0", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "lv", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 20 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 28 - }, - { - "__id__": 30 - } - ], - "_prefab": { - "__id__": 32 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 42, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 27 - }, - "_enabled": true, - "__prefab": { - "__id__": 29 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 44.5694906033978, - "height": 54.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "82vq9k1aFKYa5Ywz/gwbFX" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 27 - }, - "_enabled": true, - "__prefab": { - "__id__": 31 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "Lv.1", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": true, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "75POqLc7xOWralU/69FuiO" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "61QiOHUa9NSaXFmTwZIc/5", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 20 - }, - "_enabled": true, - "__prefab": { - "__id__": 34 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 128.5694906033978, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "8alEuqZj5L44Z+jpZ+eQ5v" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 20 - }, - "_enabled": true, - "__prefab": { - "__id__": 36 - }, - "_alignFlags": 1, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 7.111999999999995, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 6.508, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "20RTjySLFFeZ7RCeMDjJfD" - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 20 - }, - "_enabled": true, - "__prefab": { - "__id__": 38 - }, - "_resizeMode": 1, - "_layoutType": 1, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 0, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "30ha8PwmRA/Kd+SfwLUybx" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "73ee3BTuFBZbvFEdxo3R5P", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_prefab": { - "__id__": 41 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 40 - }, - "asset": { - "__uuid__": "d19cde30-f5d0-47de-a0d5-3a272b696343", - "__expectedType__": "cc.Prefab" - }, - "fileId": "c46/YsCPVOJYA4mWEpNYRx", - "instance": { - "__id__": 42 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "8amwNREnBNi5jgoZM6EcN7", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [ - { - "__id__": 43 - } - ], - "propertyOverrides": [ - { - "__id__": 47 - }, - { - "__id__": 49 - }, - { - "__id__": 50 - }, - { - "__id__": 51 - }, - { - "__id__": 52 - }, - { - "__id__": 54 - }, - { - "__id__": 55 - }, - { - "__id__": 57 - }, - { - "__id__": 59 - }, - { - "__id__": 61 - }, - { - "__id__": 63 - }, - { - "__id__": 65 - }, - { - "__id__": 67 - }, - { - "__id__": 69 - }, - { - "__id__": 71 - }, - { - "__id__": 73 - }, - { - "__id__": 75 - }, - { - "__id__": 77 - }, - { - "__id__": 79 - } - ], - "removedComponents": [ - { - "__id__": 81 - } - ] - }, - { - "__type__": "cc.MountedComponentsInfo", - "targetInfo": { - "__id__": 44 - }, - "components": [ - { - "__id__": 45 - } - ] - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "c46/YsCPVOJYA4mWEpNYRx" - ] - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": { - "mountedRoot": { - "__id__": 40 - } - }, - "node": { - "__id__": 40 - }, - "_enabled": true, - "__prefab": { - "__id__": 46 - }, - "_alignFlags": 17, - "_target": null, - "_left": 75, - "_right": 0, - "_top": 40.146, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "fb21lJWlJItbt2XhLMR/1s" - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 48 - }, - "propertyPath": [ - "_name" - ], - "value": "sbox" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "c46/YsCPVOJYA4mWEpNYRx" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 48 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 64.854, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 48 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 48 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 53 - }, - "propertyPath": [ - "_spriteFrame" - ], - "value": { - "__uuid__": "2842dc10-d89e-4ff6-8a11-6d09bf48cf20@048d1", - "__expectedType__": "cc.SpriteFrame" - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "075wC9BqZNpKBHWkkHGa0w" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 53 - }, - "propertyPath": [ - "_atlas" - ], - "value": { - "__uuid__": "2842dc10-d89e-4ff6-8a11-6d09bf48cf20", - "__expectedType__": "cc.SpriteAtlas" - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 56 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 90, - "height": 90 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "f9WzzmQplCw4od/9N1bGZ8" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 58 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 90, - "height": 90 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "44Ed4eH0lI5Kssdq2dPzke" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 60 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 370, - "height": 370 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "01RZgHEk5DOImBHnPTZbSl" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 62 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 193, - "height": 193 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "7eXE020LJO2re5wfhWMR+x" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 64 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 370, - "height": 370 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "cdEeG/ubFJgqKs1MdM6xd9" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 66 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 193, - "height": 193 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "bdhTW5lJ9PJamgUN/UmnC2" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 68 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 370, - "height": 370 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "01Tb8sF1pD1K401C16wfxs" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 70 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 193, - "height": 193 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "31upVgp9hMgqBxdoieIwVm" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 72 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 370, - "height": 370 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "c82typVIdBJJabkX/s0ZkZ" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 74 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 193, - "height": 193 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "ce0/u2yctKCZkL+Ru0cbmo" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 76 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 370, - "height": 370 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "68Zpxa86JHMbiKqxEUYo0V" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 78 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 193, - "height": 193 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "4cdo17U+VOh4SgXfb/+Gk7" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 80 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "0elb3r0slJwbY2BNC1zTKn" - ] - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "2b0pxtPkdJgrKePAS8msRc" - ] - }, - { - "__type__": "cc.Node", - "_name": "info", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 83 - }, - { - "__id__": 91 - }, - { - "__id__": 99 - } - ], - "_active": true, - "_components": [ - { - "__id__": 107 - }, - { - "__id__": 109 - }, - { - "__id__": 111 - } - ], - "_prefab": { - "__id__": 113 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -95, - "y": -29.540999999999997, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "i1", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 82 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 84 - }, - { - "__id__": 86 - }, - { - "__id__": 88 - } - ], - "_prefab": { - "__id__": 90 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 23.333333333333336, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 83 - }, - "_enabled": true, - "__prefab": { - "__id__": 85 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 190, - "height": 23.333333333333332 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "69O8ConsBKvLQ5AKQ66wo0" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 83 - }, - "_enabled": true, - "__prefab": { - "__id__": 87 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "词条3", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 18, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 25, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b5sZHO3gNIW76AXUeqZYBn" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 83 - }, - "_enabled": true, - "__prefab": { - "__id__": 89 - }, - "_alignFlags": 40, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 300, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "90OrNvrelLZbOIOrrDJnEv" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "31vWtf5dxJgr88LEoU1n3P", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "i2", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 82 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 92 - }, - { - "__id__": 94 - }, - { - "__id__": 96 - } - ], - "_prefab": { - "__id__": 98 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 3.552713678800501e-15, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 91 - }, - "_enabled": true, - "__prefab": { - "__id__": 93 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 190, - "height": 23.333333333333332 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "2fZ5IbrfpGAZL8NHWcCmSI" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 91 - }, - "_enabled": true, - "__prefab": { - "__id__": 95 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "词条2", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 18, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 25, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "dc6KYeWoJBr5NspO5kGx92" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 91 - }, - "_enabled": true, - "__prefab": { - "__id__": 97 - }, - "_alignFlags": 40, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 300, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ecZYYEuDRAh5fCYP3KMUKj" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "b6k/wLCIBPwb+CzEq7D/OD", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "i3", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 82 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 100 - }, - { - "__id__": 102 - }, - { - "__id__": 104 - } - ], - "_prefab": { - "__id__": 106 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -23.33333333333333, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 99 - }, - "_enabled": true, - "__prefab": { - "__id__": 101 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 190, - "height": 23.333333333333332 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4bzdV65RFKkoWfWLPUitf0" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 99 - }, - "_enabled": true, - "__prefab": { - "__id__": 103 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "词条3", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 18, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 25, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f0oseF23FJJY7bo5zkXU/L" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 99 - }, - "_enabled": true, - "__prefab": { - "__id__": 105 - }, - "_alignFlags": 40, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 300, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "7dc/Tc5s5N+42zkFkChZxc" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "897tyOuodBQJ2g1YcPjCYe", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 82 - }, - "_enabled": true, - "__prefab": { - "__id__": 108 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 190, - "height": 70 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "23zkFGCNdKFYEAZu1hO0ZD" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 82 - }, - "_enabled": true, - "__prefab": { - "__id__": 110 - }, - "_alignFlags": 45, - "_target": null, - "_left": 20, - "_right": 20, - "_top": 144.541, - "_bottom": 85.459, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 100, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ea6zVnOhFA57hmQp7pFbkh" - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 82 - }, - "_enabled": true, - "__prefab": { - "__id__": 112 - }, - "_resizeMode": 1, - "_layoutType": 2, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_startAxis": 1, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 0, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "39NZio6TNPjLLTUnq0ODme" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "894Jil2OhD84XdOP9fS7Ua", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_objFlags": 0, - "_parent": { - "__id__": 1 - }, - "_prefab": { - "__id__": 115 - }, - "__editorExtras__": {} - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 114 - }, - "asset": { - "__uuid__": "506d0f89-1cf1-4c3b-be47-a3abaf3695e8", - "__expectedType__": "cc.Prefab" - }, - "fileId": "60RuUkpjBAGoLk3z4xlHcF", - "instance": { - "__id__": 116 - }, - "targetOverrides": null - }, - { - "__type__": "cc.PrefabInstance", - "fileId": "d3z/Xev1FBdqPkVQYK6dha", - "prefabRootNode": { - "__id__": 1 - }, - "mountedChildren": [], - "mountedComponents": [], - "propertyOverrides": [ - { - "__id__": 117 - }, - { - "__id__": 119 - }, - { - "__id__": 120 - }, - { - "__id__": 121 - }, - { - "__id__": 122 - }, - { - "__id__": 124 - }, - { - "__id__": 126 - }, - { - "__id__": 128 - }, - { - "__id__": 130 - }, - { - "__id__": 132 - }, - { - "__id__": 134 - }, - { - "__id__": 135 - }, - { - "__id__": 137 - }, - { - "__id__": 139 - }, - { - "__id__": 141 - } - ], - "removedComponents": [] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 118 - }, - "propertyPath": [ - "_name" - ], - "value": "button" - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "60RuUkpjBAGoLk3z4xlHcF" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 118 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": -95.715, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 118 - }, - "propertyPath": [ - "_lrot" - ], - "value": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 118 - }, - "propertyPath": [ - "_euler" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 123 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 130, - "height": 50 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "69vKLtZHNNMpMC4SmMmoDi" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 125 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 130, - "height": 50 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "cdti5U6ZNG2Z/RykAJNVTw" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 127 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 122, - "height": 38 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "3cTH6kgb9D1bt8syQyX+k8" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 129 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": -55, - "y": 15.5, - "z": 0 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "3eGuUajkVIeK78uF29soeR" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 131 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 130, - "height": 30 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "a2VyIJeeVKFodz6H9a3PKt" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 133 - }, - "propertyPath": [ - "_top" - ], - "value": 9.4875 - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "71o6/V/3VMMZ/CnSZBIkZ0" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 133 - }, - "propertyPath": [ - "_bottom" - ], - "value": 10.5125 - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 136 - }, - "propertyPath": [ - "_active" - ], - "value": false - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "28D4tFgVRPwbG9iXo3cRl7" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 138 - }, - "propertyPath": [ - "_lpos" - ], - "value": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "deRkP/BNlLX52OUGvpThIO" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 140 - }, - "propertyPath": [ - "_color" - ], - "value": { - "__type__": "cc.Color", - "r": 133, - "g": 208, - "b": 72, - "a": 255 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "e1PNQAe0ZJH5asasLtteLw" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 142 - }, - "propertyPath": [ - "_color" - ], - "value": { - "__type__": "cc.Color", - "r": 198, - "g": 239, - "b": 150, - "a": 255 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "72Qmr45pdBjaa4/XGRGS5u" - ] - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 144 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 230, - "height": 300 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "01picFBtJMhp/LBDdXi1y9" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 146 - }, - "_alignFlags": 40, - "_target": null, - "_left": 245, - "_right": 245, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4aPeqTNK9Ga61Xv9j+yGXk" - }, - { - "__type__": "f01551ecT5MD6XTnGn3Wvkb", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 148 - }, - "icon_node": { - "__id__": 149 - }, - "bg_node": null, - "name_label": { - "__id__": 24 - }, - "fied1": { - "__id__": 86 - }, - "fied2": { - "__id__": 94 - }, - "fied3": { - "__id__": 102 - }, - "level_label": { - "__id__": 30 - }, - "buy_node": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e3eNCv9YFCwpf4IreyADeV" - }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 40 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 150 - }, - { - "__id__": 152 - }, - { - "__id__": 154 - } - ], - "_prefab": { - "__id__": 156 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 0.6, - "y": 0.6, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 149 - }, - "_enabled": true, - "__prefab": { - "__id__": 151 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "0elb3r0slJwbY2BNC1zTKn" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 149 - }, - "_enabled": true, - "__prefab": { - "__id__": 153 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "2842dc10-d89e-4ff6-8a11-6d09bf48cf20@048d1", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": { - "__uuid__": "2842dc10-d89e-4ff6-8a11-6d09bf48cf20", - "__expectedType__": "cc.SpriteAtlas" - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "075wC9BqZNpKBHWkkHGa0w" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 149 - }, - "_enabled": true, - "__prefab": { - "__id__": 155 - }, - "_alignFlags": 45, - "_target": null, - "_left": 15, - "_right": 15, - "_top": 15, - "_bottom": 15, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 78, - "_originalHeight": 78, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "979E8VFL1G3qbMjoTp5l0c" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "a33ReyWcpAoZY5ieotS6Ir", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "5dVotvOAFMoaprbNZVAkgY", - "instance": null, - "targetOverrides": [ - { - "__id__": 158 - } - ], - "nestedPrefabInstanceRoots": [ - { - "__id__": 114 - }, - { - "__id__": 40 - }, - { - "__id__": 2 - } - ] - }, - { - "__type__": "cc.TargetOverrideInfo", - "source": { - "__id__": 147 - }, - "sourceInfo": null, - "propertyPath": [ - "icon_node" - ], - "target": { - "__id__": 40 - }, - "targetInfo": { - "__id__": 159 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "a33ReyWcpAoZY5ieotS6Ir" - ] - } -] \ No newline at end of file diff --git a/assets/resources/gui/element/equip-001.prefab.meta b/assets/resources/gui/element/equip-001.prefab.meta deleted file mode 100644 index 1c34208a..00000000 --- a/assets/resources/gui/element/equip-001.prefab.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.50", - "importer": "prefab", - "imported": true, - "uuid": "101841f1-5f9a-4115-964f-5a6ca92a0e46", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": { - "syncNodeName": "equip-001" - } -} diff --git a/assets/script/game/map/EquipListComp.ts b/assets/script/game/map/EquipListComp.ts index 333a4e38..bdfccc4f 100644 --- a/assets/script/game/map/EquipListComp.ts +++ b/assets/script/game/map/EquipListComp.ts @@ -12,7 +12,7 @@ * EquipBoxComp 按 Field 类型被动驻场,属性加成由 FieldSkillHelper 全局聚合。 */ import { mLogger } from "../common/Logger"; -import { _decorator, Node, Sprite, Label, NodeEventType } from "cc"; +import { _decorator, Node, Sprite, Label, NodeEventType, Vec3, UIOpacity, tween, Tween } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { CardConfig } from "../common/config/CardSet"; @@ -74,17 +74,28 @@ export class EquipListComp extends CCComp { private cardData: CardConfig | null = null; /** 是否已购买 */ private isPurchased: boolean = false; + /** 透明度组件(用于淡入淡出动画) */ + private opacityComp: UIOpacity | null = null; + /** 入场动画时长(秒) */ + private readonly enterDuration: number = 0.25; + /** 购买/逝去动画时长(秒) */ + private readonly exitDuration: number = 0.2; // ======================== 生命周期 ======================== onLoad() { + this.buy_node?.on(NodeEventType.TOUCH_START, this.onBuyTouchStart, this); this.buy_node?.on(NodeEventType.TOUCH_END, this.onBuyClick, this); + this.buy_node?.on(NodeEventType.TOUCH_CANCEL, this.onBuyTouchCancel, this); + this.opacityComp = this.node.getComponent(UIOpacity) || this.node.addComponent(UIOpacity); } onDestroy() { super.onDestroy(); if (this.buy_node && this.buy_node.isValid) { + this.buy_node.off(NodeEventType.TOUCH_START, this.onBuyTouchStart, this); this.buy_node.off(NodeEventType.TOUCH_END, this.onBuyClick, this); + this.buy_node.off(NodeEventType.TOUCH_CANCEL, this.onBuyTouchCancel, this); } } @@ -93,10 +104,33 @@ export class EquipListComp extends CCComp { /** * 初始化装备卡数据并渲染 UI * + * 若槽位已有旧卡且显示中,先播普通逝去动画(缩小淡出),结束后切新卡; + * 刚购买的槽位跳过逝去动画直接应用新卡(购买动画已播放大淡出)。 + * * @param data 装备卡配置(必须为 trigger_type=Field 的装备卡) */ applyCardData(data: CardConfig): void { if (!data) return; + + // 刚购买(已播放大逝去动画)→ 不播普通逝去动画,直接应用新卡 + if (this.isPurchased) { + this.cardData = data; + this.isPurchased = false; + this.updateUI(); + return; + } + + // 旧卡存在且显示中 → 播普通逝去动画,结束后切新卡 + if (this.cardData && this.node.active) { + this.playRefreshExitAnim(() => { + this.cardData = data; + this.isPurchased = false; + this.updateUI(); + }); + return; + } + + // 首次赋值 → 直接渲染 this.cardData = data; this.isPurchased = false; this.updateUI(); @@ -150,6 +184,107 @@ export class EquipListComp extends CCComp { costLabel.string = `${this.cardData.cost ?? 0}`; } } + + // 播放入场动画(由小变大 + 淡入) + this.playEnterAnim(); + } + + // ======================== 动画 ======================== + + /** 播放入场动画:卡牌由小变大(scale 0→1)+ 淡入 */ + private playEnterAnim() { + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + } + this.node.setScale(0, 0, 1); + if (this.opacityComp) { + this.opacityComp.opacity = 0; + } + tween(this.node) + .to(this.enterDuration, { scale: new Vec3(1, 1, 1) }, { easing: 'backOut' }) + .start(); + if (this.opacityComp) { + tween(this.opacityComp) + .to(this.enterDuration, { opacity: 255 }) + .start(); + } + } + + /** 播放购买动画:卡牌放大(scale 1→1.1)+ 淡出 */ + private playPurchaseAnim() { + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + } + tween(this.node) + .to(this.exitDuration, { scale: new Vec3(1.1, 1.1, 1) }, { easing: 'quadIn' }) + .start(); + if (this.opacityComp) { + tween(this.opacityComp) + .to(this.exitDuration, { opacity: 0 }) + .start(); + } + } + + /** + * 播放普通刷新"逝去"动画:旧卡缩小(scale 1→0)+ 淡出,结束后回调切换新卡。 + * @param onComplete 动画结束回调,用于应用新卡数据 + */ + private playRefreshExitAnim(onComplete: () => void) { + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + } + tween(this.node) + .to(this.exitDuration, { scale: new Vec3(0, 0, 1) }, { easing: 'quadIn' }) + .start(); + if (this.opacityComp) { + tween(this.opacityComp) + .to(this.exitDuration, { opacity: 0 }) + .call(onComplete) + .start(); + } else { + this.scheduleOnce(onComplete, this.exitDuration); + } + } + + // ======================== 按钮动画 ======================== + + /** 按钮正常缩放 */ + private readonly btnNormalScale: number = 1; + /** 按钮按下缩放 */ + private readonly btnPressScale: number = 0.92; + /** 按钮点击回弹峰值缩放 */ + private readonly btnClickScale: number = 1.08; + + /** 购买按钮按下:缩小反馈 */ + private onBuyTouchStart() { + this.playBtnScaleTo(this.btnPressScale, 0.06); + } + + /** 购买按钮取消:恢复缩放 */ + private onBuyTouchCancel() { + this.playBtnScaleTo(this.btnNormalScale, 0.08); + } + + /** 按钮缩放动画(通用) */ + private playBtnScaleTo(scale: number, duration: number) { + if (!this.buy_node || !this.buy_node.isValid) return; + Tween.stopAllByTarget(this.buy_node); + tween(this.buy_node) + .to(duration, { scale: new Vec3(scale, scale, 1) }) + .start(); + } + + /** 按钮点击回弹动画:先弹到峰值再回到正常 */ + private playBtnClickAnim() { + if (!this.buy_node || !this.buy_node.isValid) return; + Tween.stopAllByTarget(this.buy_node); + tween(this.buy_node) + .to(0.05, { scale: new Vec3(this.btnClickScale, this.btnClickScale, 1) }) + .to(0.08, { scale: new Vec3(this.btnNormalScale, this.btnNormalScale, 1) }) + .start(); } /** 更新图标精灵 */ @@ -178,6 +313,9 @@ export class EquipListComp extends CCComp { private onBuyClick() { if (!this.cardData || this.isPurchased) return; + // 播放按钮点击回弹动画 + this.playBtnClickAnim(); + oops.audio.playEffect("music/button"); // 扣费 @@ -201,6 +339,9 @@ export class EquipListComp extends CCComp { this.buy_node.active = false; } + // 播放购买动画(卡牌放大 + 淡出) + this.playPurchaseAnim(); + mLogger.log(this.debugMode, "EquipListComp", "equipment purchased", { uuid: this.cardData.uuid, cost diff --git a/assets/script/game/map/ItemListComp.ts b/assets/script/game/map/ItemListComp.ts index 364915f1..5d020dc0 100644 --- a/assets/script/game/map/ItemListComp.ts +++ b/assets/script/game/map/ItemListComp.ts @@ -14,7 +14,7 @@ * 本组件同时服务于装备商店和商品商店,通过 cardData 的 trigger_type / kind 自动判断类型。 */ import { mLogger } from "../common/Logger"; -import { _decorator, Node, Sprite, Label, NodeEventType } from "cc"; +import { _decorator, Node, Sprite, Label, NodeEventType, Vec3, UIOpacity, tween, Tween } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { CardConfig, CardTriggerType, CKind } from "../common/config/CardSet"; @@ -76,17 +76,28 @@ export class ItemListComp extends CCComp { private cardData: CardConfig | null = null; /** 是否已购买 */ private isPurchased: boolean = false; + /** 透明度组件(用于淡入淡出动画) */ + private opacityComp: UIOpacity | null = null; + /** 入场动画时长(秒) */ + private readonly enterDuration: number = 0.25; + /** 购买/逝去动画时长(秒) */ + private readonly exitDuration: number = 0.2; // ======================== 生命周期 ======================== onLoad() { + this.buy_node?.on(NodeEventType.TOUCH_START, this.onBuyTouchStart, this); this.buy_node?.on(NodeEventType.TOUCH_END, this.onBuyClick, this); + this.buy_node?.on(NodeEventType.TOUCH_CANCEL, this.onBuyTouchCancel, this); + this.opacityComp = this.node.getComponent(UIOpacity) || this.node.addComponent(UIOpacity); } onDestroy() { super.onDestroy(); if (this.buy_node && this.buy_node.isValid) { + this.buy_node.off(NodeEventType.TOUCH_START, this.onBuyTouchStart, this); this.buy_node.off(NodeEventType.TOUCH_END, this.onBuyClick, this); + this.buy_node.off(NodeEventType.TOUCH_CANCEL, this.onBuyTouchCancel, this); } } @@ -95,10 +106,33 @@ export class ItemListComp extends CCComp { /** * 初始化商品卡数据并渲染 UI * + * 若槽位已有旧卡且显示中,先播普通逝去动画(缩小淡出),结束后切新卡; + * 刚购买的槽位跳过逝去动画直接应用新卡(购买动画已播放大淡出)。 + * * @param data 商品/装备卡配置 */ applyCardData(data: CardConfig): void { if (!data) return; + + // 刚购买(已播放大逝去动画)→ 不播普通逝去动画,直接应用新卡 + if (this.isPurchased) { + this.cardData = data; + this.isPurchased = false; + this.updateUI(); + return; + } + + // 旧卡存在且显示中 → 播普通逝去动画,结束后切新卡 + if (this.cardData && this.node.active) { + this.playRefreshExitAnim(() => { + this.cardData = data; + this.isPurchased = false; + this.updateUI(); + }); + return; + } + + // 首次赋值 → 直接渲染 this.cardData = data; this.isPurchased = false; this.updateUI(); @@ -196,6 +230,107 @@ export class ItemListComp extends CCComp { costLabel.string = `${this.cardData.cost ?? 0}`; } } + + // 播放入场动画(由小变大 + 淡入) + this.playEnterAnim(); + } + + // ======================== 动画 ======================== + + /** 播放入场动画:卡牌由小变大(scale 0→1)+ 淡入 */ + private playEnterAnim() { + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + } + this.node.setScale(0, 0, 1); + if (this.opacityComp) { + this.opacityComp.opacity = 0; + } + tween(this.node) + .to(this.enterDuration, { scale: new Vec3(1, 1, 1) }, { easing: 'backOut' }) + .start(); + if (this.opacityComp) { + tween(this.opacityComp) + .to(this.enterDuration, { opacity: 255 }) + .start(); + } + } + + /** 播放购买动画:卡牌放大(scale 1→1.1)+ 淡出 */ + private playPurchaseAnim() { + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + } + tween(this.node) + .to(this.exitDuration, { scale: new Vec3(1.1, 1.1, 1) }, { easing: 'quadIn' }) + .start(); + if (this.opacityComp) { + tween(this.opacityComp) + .to(this.exitDuration, { opacity: 0 }) + .start(); + } + } + + /** + * 播放普通刷新"逝去"动画:旧卡缩小(scale 1→0)+ 淡出,结束后回调切换新卡。 + * @param onComplete 动画结束回调,用于应用新卡数据 + */ + private playRefreshExitAnim(onComplete: () => void) { + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + } + tween(this.node) + .to(this.exitDuration, { scale: new Vec3(0, 0, 1) }, { easing: 'quadIn' }) + .start(); + if (this.opacityComp) { + tween(this.opacityComp) + .to(this.exitDuration, { opacity: 0 }) + .call(onComplete) + .start(); + } else { + this.scheduleOnce(onComplete, this.exitDuration); + } + } + + // ======================== 按钮动画 ======================== + + /** 按钮正常缩放 */ + private readonly btnNormalScale: number = 1; + /** 按钮按下缩放 */ + private readonly btnPressScale: number = 0.92; + /** 按钮点击回弹峰值缩放 */ + private readonly btnClickScale: number = 1.08; + + /** 购买按钮按下:缩小反馈 */ + private onBuyTouchStart() { + this.playBtnScaleTo(this.btnPressScale, 0.06); + } + + /** 购买按钮取消:恢复缩放 */ + private onBuyTouchCancel() { + this.playBtnScaleTo(this.btnNormalScale, 0.08); + } + + /** 按钮缩放动画(通用) */ + private playBtnScaleTo(scale: number, duration: number) { + if (!this.buy_node || !this.buy_node.isValid) return; + Tween.stopAllByTarget(this.buy_node); + tween(this.buy_node) + .to(duration, { scale: new Vec3(scale, scale, 1) }) + .start(); + } + + /** 按钮点击回弹动画:先弹到峰值再回到正常 */ + private playBtnClickAnim() { + if (!this.buy_node || !this.buy_node.isValid) return; + Tween.stopAllByTarget(this.buy_node); + tween(this.buy_node) + .to(0.05, { scale: new Vec3(this.btnClickScale, this.btnClickScale, 1) }) + .to(0.08, { scale: new Vec3(this.btnNormalScale, this.btnNormalScale, 1) }) + .start(); } /** 更新图标精灵 */ @@ -222,6 +357,9 @@ export class ItemListComp extends CCComp { private onBuyClick() { if (!this.cardData || this.isPurchased) return; + // 播放按钮点击回弹动画 + this.playBtnClickAnim(); + oops.audio.playEffect("music/button"); // 扣费 @@ -269,6 +407,9 @@ export class ItemListComp extends CCComp { if (this.buy_node) { this.buy_node.active = false; } + + // 播放购买动画(卡牌放大 + 淡出) + this.playPurchaseAnim(); } /** 标记为已购买状态(用于跨波次保持购买记录) */ diff --git a/assets/script/game/map/SCardComp.ts b/assets/script/game/map/SCardComp.ts index 3b94d323..4e363dba 100644 --- a/assets/script/game/map/SCardComp.ts +++ b/assets/script/game/map/SCardComp.ts @@ -11,7 +11,7 @@ * 由 MissSkillsComp 接收并创建 SBox 实体 / SkillBoxComp 执行技能逻辑。 */ import { mLogger } from "../common/Logger"; -import { _decorator, Node, Sprite, Label, NodeEventType } from "cc"; +import { _decorator, Node, Sprite, Label, NodeEventType, Vec3, UIOpacity, tween, Tween } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { CardConfig } from "../common/config/CardSet"; @@ -73,17 +73,28 @@ export class SCardComp extends CCComp { private cardData: CardConfig | null = null; /** 是否已购买 */ private isPurchased: boolean = false; + /** 透明度组件(用于淡入淡出动画) */ + private opacityComp: UIOpacity | null = null; + /** 入场动画时长(秒) */ + private readonly enterDuration: number = 0.25; + /** 购买/逝去动画时长(秒) */ + private readonly exitDuration: number = 0.2; // ======================== 生命周期 ======================== onLoad() { + this.buy_node?.on(NodeEventType.TOUCH_START, this.onBuyTouchStart, this); this.buy_node?.on(NodeEventType.TOUCH_END, this.onBuyClick, this); + this.buy_node?.on(NodeEventType.TOUCH_CANCEL, this.onBuyTouchCancel, this); + this.opacityComp = this.node.getComponent(UIOpacity) || this.node.addComponent(UIOpacity); } onDestroy() { super.onDestroy(); if (this.buy_node && this.buy_node.isValid) { + this.buy_node.off(NodeEventType.TOUCH_START, this.onBuyTouchStart, this); this.buy_node.off(NodeEventType.TOUCH_END, this.onBuyClick, this); + this.buy_node.off(NodeEventType.TOUCH_CANCEL, this.onBuyTouchCancel, this); } } @@ -92,9 +103,41 @@ export class SCardComp extends CCComp { /** * 初始化技能卡数据并渲染 UI * + * 若槽位已有旧卡且显示中,先播普通逝去动画(缩小淡出),结束后切新卡; + * 刚购买的槽位跳过逝去动画直接应用新卡(购买动画已播放大淡出)。 + * * @param data 技能卡配置,传 null 时清空显示 */ applyCardData(data: CardConfig | null): void { + // 刚购买(已播放大逝去动画)→ 不播普通逝去动画,直接应用新卡 + if (this.isPurchased) { + this.cardData = data; + this.isPurchased = false; + if (data) { + this.node.active = true; + this.updateUI(); + } else { + this.applyEmptyUI(); + } + return; + } + + // 旧卡存在且显示中 → 播普通逝去动画,结束后切新卡 + if (this.cardData && this.node.active) { + this.playRefreshExitAnim(() => { + this.cardData = data; + this.isPurchased = false; + if (data) { + this.node.active = true; + this.updateUI(); + } else { + this.applyEmptyUI(); + } + }); + return; + } + + // 首次赋值或空槽 → 直接渲染 this.cardData = data; this.isPurchased = false; if (data) { @@ -107,6 +150,14 @@ export class SCardComp extends CCComp { /** 清空 UI 显示 */ private applyEmptyUI() { + // 清理动画状态 + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + this.opacityComp.opacity = 255; + } + this.node.setScale(1, 1, 1); + if (this.name_label) this.name_label.string = ""; if (this.level_label) this.level_label.string = ""; const fieldLabels = [this.fied1, this.fied2, this.fied3]; @@ -171,6 +222,107 @@ export class SCardComp extends CCComp { costLabel.string = `${this.cardData.cost ?? 0}`; } } + + // 播放入场动画(由小变大 + 淡入) + this.playEnterAnim(); + } + + // ======================== 动画 ======================== + + /** 播放入场动画:卡牌由小变大(scale 0→1)+ 淡入 */ + private playEnterAnim() { + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + } + this.node.setScale(0, 0, 1); + if (this.opacityComp) { + this.opacityComp.opacity = 0; + } + tween(this.node) + .to(this.enterDuration, { scale: new Vec3(1, 1, 1) }, { easing: 'backOut' }) + .start(); + if (this.opacityComp) { + tween(this.opacityComp) + .to(this.enterDuration, { opacity: 255 }) + .start(); + } + } + + /** 播放购买动画:卡牌放大(scale 1→1.1)+ 淡出 */ + private playPurchaseAnim() { + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + } + tween(this.node) + .to(this.exitDuration, { scale: new Vec3(1.1, 1.1, 1) }, { easing: 'quadIn' }) + .start(); + if (this.opacityComp) { + tween(this.opacityComp) + .to(this.exitDuration, { opacity: 0 }) + .start(); + } + } + + /** + * 播放普通刷新"逝去"动画:旧卡缩小(scale 1→0)+ 淡出,结束后回调切换新卡。 + * @param onComplete 动画结束回调,用于应用新卡数据 + */ + private playRefreshExitAnim(onComplete: () => void) { + Tween.stopAllByTarget(this.node); + if (this.opacityComp) { + Tween.stopAllByTarget(this.opacityComp); + } + tween(this.node) + .to(this.exitDuration, { scale: new Vec3(0, 0, 1) }, { easing: 'quadIn' }) + .start(); + if (this.opacityComp) { + tween(this.opacityComp) + .to(this.exitDuration, { opacity: 0 }) + .call(onComplete) + .start(); + } else { + this.scheduleOnce(onComplete, this.exitDuration); + } + } + + // ======================== 按钮动画 ======================== + + /** 按钮正常缩放 */ + private readonly btnNormalScale: number = 1; + /** 按钮按下缩放 */ + private readonly btnPressScale: number = 0.92; + /** 按钮点击回弹峰值缩放 */ + private readonly btnClickScale: number = 1.08; + + /** 购买按钮按下:缩小反馈 */ + private onBuyTouchStart() { + this.playBtnScaleTo(this.btnPressScale, 0.06); + } + + /** 购买按钮取消:恢复缩放 */ + private onBuyTouchCancel() { + this.playBtnScaleTo(this.btnNormalScale, 0.08); + } + + /** 按钮缩放动画(通用) */ + private playBtnScaleTo(scale: number, duration: number) { + if (!this.buy_node || !this.buy_node.isValid) return; + Tween.stopAllByTarget(this.buy_node); + tween(this.buy_node) + .to(duration, { scale: new Vec3(scale, scale, 1) }) + .start(); + } + + /** 按钮点击回弹动画:先弹到峰值再回到正常 */ + private playBtnClickAnim() { + if (!this.buy_node || !this.buy_node.isValid) return; + Tween.stopAllByTarget(this.buy_node); + tween(this.buy_node) + .to(0.05, { scale: new Vec3(this.btnClickScale, this.btnClickScale, 1) }) + .to(0.08, { scale: new Vec3(this.btnNormalScale, this.btnNormalScale, 1) }) + .start(); } /** 获取技能描述:驻场技能取 FieldSkillSet,其余取技能/卡牌配置 */ @@ -214,6 +366,9 @@ export class SCardComp extends CCComp { private onBuyClick() { if (!this.cardData || this.isPurchased) return; + // 播放按钮点击回弹动画 + this.playBtnClickAnim(); + oops.audio.playEffect("music/button"); // 扣费 @@ -239,6 +394,9 @@ export class SCardComp extends CCComp { this.buy_node.active = false; } + // 播放购买动画(卡牌放大 + 淡出) + this.playPurchaseAnim(); + mLogger.log(this.debugMode, "SCardComp", "skill card purchased", { uuid: this.cardData.uuid, cost