diff --git a/meng_yao/Assets/script/scene_jinshakuang/jskPanel.cs b/meng_yao/Assets/script/scene_jinshakuang/jskPanel.cs index 4fc73869d..cf33cce60 100644 --- a/meng_yao/Assets/script/scene_jinshakuang/jskPanel.cs +++ b/meng_yao/Assets/script/scene_jinshakuang/jskPanel.cs @@ -31,7 +31,6 @@ public class jskPanel : mount int index = 1; for (int i = 0; i < 5; i++) { - // Debug.LogError(lands[index].GetComponent().ActivateValue.ToString()); boxTypes.Add(new BoxType { Name = index.ToString() + "文本", prompt = "第" + ArabicToChineseNumberConverter.ConvertToChineseNumbers(index.ToString()) + "层", Type = 4, is_required = true }); boxTypes.Add(new BoxType { Name = "捕鱼" + index.ToString(), prompt = "捕鱼" + 1, Type = 3, goldNumerobj = lands[index-1].GetComponent().ActivateValue.ToString(), icon = iconS[index - 1] }); index++; diff --git a/meng_yao/Assets/script/scene_jishadao/jishadao_buy.cs b/meng_yao/Assets/script/scene_jishadao/jishadao_buy.cs index cfdaafe3d..e76235683 100644 --- a/meng_yao/Assets/script/scene_jishadao/jishadao_buy.cs +++ b/meng_yao/Assets/script/scene_jishadao/jishadao_buy.cs @@ -31,7 +31,7 @@ public class jishadao_buy :mount { //Debug.LogError(lands[index].GetComponent().ActivateValue.ToString()); boxTypes.Add(new BoxType { Name = index.ToString() + "文本", prompt = "第" + ArabicToChineseNumberConverter.ConvertToChineseNumbers(index.ToString()) + "层", Type = 4, is_required = true }); - boxTypes.Add(new BoxType { Name = "捕鱼" + index.ToString(), prompt = "捕鱼" + 1, Type = 3, goldNumerobj = lands[index - 1].GetComponent().ActivateValue.ToString(), icon = iconS[index - 1] }); + boxTypes.Add(new BoxType { Name = "捕鱼" + index.ToString(), prompt = "捕鱼" + 1, Type = 3, goldNumerobj = lands[index - 1].GetComponent().ActivateValue.ToString(), icon = iconS[index - 1] }); index++; }