fix: 调整角色控制器UI元素位置并禁用卡牌锁定UI
- 注释掉卡牌锁定/解锁按钮的显示逻辑,暂时禁用该功能 - 调整角色控制器界面中多个UI元素的位置坐标,优化布局
This commit is contained in:
@@ -1056,7 +1056,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 477.943,
|
||||
"y": 459.545,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -1589,7 +1589,7 @@
|
||||
"_left": 0,
|
||||
"_right": 0,
|
||||
"_top": 0,
|
||||
"_bottom": 477.943,
|
||||
"_bottom": 459.545,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
@@ -1925,7 +1925,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 427.529,
|
||||
"y": 37.166,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -2080,7 +2080,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 427.529,
|
||||
"y": 37.166,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -3044,7 +3044,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 427.529,
|
||||
"y": 37.166,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -3999,7 +3999,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -271.695,
|
||||
"y": 428.955,
|
||||
"y": 38.592,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -5025,7 +5025,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 272.07,
|
||||
"y": 428.955,
|
||||
"y": 38.592,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -5626,7 +5626,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -259,
|
||||
"y": 277.425,
|
||||
"y": 307.022,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -5902,7 +5902,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -85,
|
||||
"y": 277.425,
|
||||
"y": 307.022,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -6178,7 +6178,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 85,
|
||||
"y": 277.425,
|
||||
"y": 307.022,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -6454,7 +6454,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 259,
|
||||
"y": 277.425,
|
||||
"y": 307.022,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -6991,7 +6991,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -260,
|
||||
"y": 277.425,
|
||||
"y": 307.022,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -7312,7 +7312,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": -86,
|
||||
"y": 277.425,
|
||||
"y": 307.022,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -7633,7 +7633,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 86,
|
||||
"y": 277.425,
|
||||
"y": 307.022,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -7954,7 +7954,7 @@
|
||||
"value": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 260,
|
||||
"y": 277.425,
|
||||
"y": 307.022,
|
||||
"z": 0
|
||||
}
|
||||
},
|
||||
@@ -8208,7 +8208,7 @@
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 3.595,
|
||||
"y": 66.789,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -11692,7 +11692,7 @@
|
||||
"_left": 10,
|
||||
"_right": 10,
|
||||
"_top": 1230,
|
||||
"_bottom": 3.595,
|
||||
"_bottom": 66.789,
|
||||
"_horizontalCenter": 0,
|
||||
"_verticalCenter": 0,
|
||||
"_isAbsLeft": true,
|
||||
|
||||
@@ -345,8 +345,8 @@ export class CardComp extends CCComp {
|
||||
|
||||
/** 根据锁态刷新 Lock / unLock 显示(Lock=可点击上锁,unLock=可点击解锁) */
|
||||
private updateLockUI() {
|
||||
if (this.Lock) this.Lock.active = !this.isLocked;
|
||||
if (this.unLock) this.unLock.active = this.isLocked;
|
||||
// if (this.Lock) this.Lock.active = !this.isLocked;
|
||||
// if (this.unLock) this.unLock.active = this.isLocked;
|
||||
}
|
||||
|
||||
/** 根据当前 cardData 渲染卡面文字与图标 */
|
||||
|
||||
Reference in New Issue
Block a user