feat: 为工具提示添加阵营区分显示
扩展 Tooltip 系统以支持根据伤害来源的阵营(英雄或怪物)显示不同的文本标签。修改 HeroViewComp 调用时传递阵营信息,TooltipCom 根据阵营选择对应的本地化键名。同时调整了工具提示预制件的默认激活状态和文本颜色。
This commit is contained in:
@@ -106,7 +106,7 @@
|
||||
"__id__": 3
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 17
|
||||
@@ -565,7 +565,7 @@
|
||||
"__id__": 21
|
||||
}
|
||||
],
|
||||
"_active": true,
|
||||
"_active": false,
|
||||
"_components": [
|
||||
{
|
||||
"__id__": 35
|
||||
@@ -2000,8 +2000,8 @@
|
||||
"_color": {
|
||||
"__type__": "cc.Color",
|
||||
"r": 255,
|
||||
"g": 68,
|
||||
"b": 68,
|
||||
"g": 140,
|
||||
"b": 0,
|
||||
"a": 255
|
||||
},
|
||||
"_string": "9999",
|
||||
|
||||
Reference in New Issue
Block a user