fix(buff): 调整护盾buff预制体的位置和锚点
修正shielded.prefab中子节点的局部位置_y坐标,使其从-15变为35,避免视觉偏移。 同时将子节点精灵的锚点从(0.5, 0)改为(0.5, 0.5),确保缩放和旋转以中心点为基准。
This commit is contained in:
@@ -87,7 +87,7 @@
|
|||||||
"_lpos": {
|
"_lpos": {
|
||||||
"__type__": "cc.Vec3",
|
"__type__": "cc.Vec3",
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": -15,
|
"y": 35,
|
||||||
"z": 0
|
"z": 0
|
||||||
},
|
},
|
||||||
"_lrot": {
|
"_lrot": {
|
||||||
@@ -133,7 +133,7 @@
|
|||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.5,
|
"x": 0.5,
|
||||||
"y": 0
|
"y": 0.5
|
||||||
},
|
},
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user