From 71bfa85aece42afa703e192d72a5ddece649dd15 Mon Sep 17 00:00:00 2001
From: client_linchunjie <461730578@qq.com>
Date: 星期二, 13 十一月 2018 10:42:31 +0800
Subject: [PATCH] 3335 api命名修改
---
System/BlastFurnace/LingDanTips.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/System/BlastFurnace/LingDanTips.cs b/System/BlastFurnace/LingDanTips.cs
index 3eb7727..bc09428 100644
--- a/System/BlastFurnace/LingDanTips.cs
+++ b/System/BlastFurnace/LingDanTips.cs
@@ -331,7 +331,7 @@
if(haveMaterCount >= materialNum)
{
- itemCell.countText.text = UIHelper.GetTextColorByItemColor(TextColType.White,haveMaterCount.ToString()) +"/" + materialNum;
+ itemCell.countText.text = UIHelper.AppendStringColor(TextColType.White,haveMaterCount.ToString()) +"/" + materialNum;
}
else
{
@@ -339,7 +339,7 @@
{
noEnoughMatID = materialId;
}
- itemCell.countText.text = UIHelper.GetTextColorByItemColor(TextColType.Red, haveMaterCount.ToString()) + "/" + materialNum;
+ itemCell.countText.text = UIHelper.AppendStringColor(TextColType.Red, haveMaterCount.ToString()) + "/" + materialNum;
}
itemCell.cellBtn.RemoveAllListeners();
@@ -413,12 +413,12 @@
if (haveNum >= specModel.SpecialMateriaNUM)
{
isEnoughSpecMat = true;
- _addSpecMatItemCell.countText.text = UIHelper.GetTextColorByItemColor(TextColType.Green, haveNum.ToString(),true) + "/" + specModel.SpecialMateriaNUM;
+ _addSpecMatItemCell.countText.text = UIHelper.AppendStringColor(TextColType.Green, haveNum.ToString(),true) + "/" + specModel.SpecialMateriaNUM;
}
else
{
isEnoughSpecMat = false;
- _addSpecMatItemCell.countText.text = UIHelper.GetTextColorByItemColor(TextColType.Red,haveNum.ToString()) + "/" + specModel.SpecialMateriaNUM;
+ _addSpecMatItemCell.countText.text = UIHelper.AppendStringColor(TextColType.Red,haveNum.ToString()) + "/" + specModel.SpecialMateriaNUM;
}
_addSpecMatItemCell.reducebtn.gameObject.SetActive(true);
--
Gitblit v1.8.0