feat(技能盒): 添加技能盒销毁事件与自动排列功能
- 新增 RemoveSkillBox 事件用于技能盒销毁时通知 - 在 SkillBoxComp 销毁时触发 RemoveSkillBox 事件 - 为 MissSkillsComp 实现技能盒槽位管理系统 - 技能盒添加时会自动分配到可用槽位 - 技能盒销毁后会自动重新排列剩余技能盒 - 调整技能盒预制体尺寸和位置以优化显示效果
This commit is contained in:
@@ -105,7 +105,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 40,
|
||||
"y": 35,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -145,8 +145,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 80,
|
||||
"height": 80
|
||||
"width": 70,
|
||||
"height": 70
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -287,7 +287,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 40,
|
||||
"y": 35,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -349,8 +349,8 @@
|
||||
},
|
||||
"_lscale": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 1,
|
||||
"y": 1,
|
||||
"x": 0.9,
|
||||
"y": 0.9,
|
||||
"z": 1
|
||||
},
|
||||
"_mobility": 0,
|
||||
@@ -377,8 +377,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 100,
|
||||
"height": 100
|
||||
"width": 78,
|
||||
"height": 78
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -417,7 +417,7 @@
|
||||
"__uuid__": "031877cb-0f3d-4e92-bc5d-e492a0d95a08@f4f28",
|
||||
"__expectedType__": "cc.SpriteFrame"
|
||||
},
|
||||
"_type": 0,
|
||||
"_type": 1,
|
||||
"_fillType": 0,
|
||||
"_sizeMode": 0,
|
||||
"_fillCenter": {
|
||||
@@ -463,8 +463,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 78,
|
||||
"height": 78
|
||||
"width": 68,
|
||||
"height": 68
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -623,7 +623,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 40,
|
||||
"y": 35,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -663,8 +663,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 76,
|
||||
"height": 76
|
||||
"width": 66,
|
||||
"height": 66
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -798,7 +798,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 40,
|
||||
"y": 35,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -838,8 +838,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 68,
|
||||
"height": 68
|
||||
"width": 58,
|
||||
"height": 58
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -973,7 +973,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 40,
|
||||
"y": 35,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -1013,8 +1013,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 80,
|
||||
"height": 80
|
||||
"width": 70,
|
||||
"height": 70
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
@@ -1294,8 +1294,8 @@
|
||||
},
|
||||
"_contentSize": {
|
||||
"__type__": "cc.Size",
|
||||
"width": 80,
|
||||
"height": 80
|
||||
"width": 70,
|
||||
"height": 70
|
||||
},
|
||||
"_anchorPoint": {
|
||||
"__type__": "cc.Vec2",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user