ui基本完毕,修了一大把的bug

This commit is contained in:
2026-07-13 02:28:39 +08:00
parent 1e20d73e90
commit fd22501f71
958 changed files with 378289 additions and 41038 deletions
+10 -1
View File
@@ -91,6 +91,7 @@ public class deSkillPrefab : MonoBehaviour, IPointerEnterHandler, IPointerExitHa
string displayName,
string detailName,
string detailDescription,
Sprite bottomSprite,
Color bottomColor,
Material iconMaterial,
bool enableToggleValue,
@@ -114,7 +115,15 @@ public class deSkillPrefab : MonoBehaviour, IPointerEnterHandler, IPointerExitHa
if (skillIcon_btm != null)
{
skillIcon_btm.color = bottomColor;
if (bottomSprite != null)
{
skillIcon_btm.sprite = bottomSprite;
skillIcon_btm.color = Color.white;
}
else
{
skillIcon_btm.color = bottomColor;
}
}
if (skillName != null)