feat: 添加等级颜色显示,优化卡池和英雄等级UI
1. 新增getLvColor工具函数,根据等级返回对应颜色 2. 为英雄信息面板和卡牌添加等级文本颜色设置 3. 重构卡池等级节点命名和显示逻辑,修复prefab布局 4. 新增英雄自身等级显示组件到卡牌预制件
This commit is contained in:
@@ -90,7 +90,7 @@
|
||||
"__id__": 1
|
||||
},
|
||||
"_children": [],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 3
|
||||
@@ -230,7 +230,7 @@
|
||||
"__id__": 9
|
||||
}
|
||||
],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 15
|
||||
@@ -461,7 +461,7 @@
|
||||
"__id__": 25
|
||||
}
|
||||
],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 31
|
||||
@@ -472,8 +472,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 9.508,
|
||||
"x": 12.84,
|
||||
"y": 4.69,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -831,7 +831,7 @@
|
||||
"__id__": 47
|
||||
}
|
||||
],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 53
|
||||
@@ -842,8 +842,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 9.508,
|
||||
"x": 13.803,
|
||||
"y": 4.931,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -1340,7 +1340,7 @@
|
||||
"__id__": 75
|
||||
}
|
||||
],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 81
|
||||
@@ -1351,8 +1351,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 9.508,
|
||||
"x": 14.526,
|
||||
"y": 5.654,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -1988,7 +1988,7 @@
|
||||
"__id__": 109
|
||||
}
|
||||
],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 115
|
||||
@@ -1999,8 +1999,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 9.508,
|
||||
"x": 15.249,
|
||||
"y": 6.376,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
@@ -2775,7 +2775,7 @@
|
||||
"__id__": 149
|
||||
}
|
||||
],
|
||||
"_active": false,
|
||||
"_active": true,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 155
|
||||
@@ -2786,8 +2786,8 @@
|
||||
},
|
||||
"_lpos": {
|
||||
"__type__": "cc.Vec3",
|
||||
"x": 0,
|
||||
"y": 9.508,
|
||||
"x": 14.285,
|
||||
"y": 5.654,
|
||||
"z": 0
|
||||
},
|
||||
"_lrot": {
|
||||
|
||||
Reference in New Issue
Block a user