This commit is contained in:
wulongxiao 2024-12-20 17:47:25 +08:00
parent 42db11f65d
commit cd5ee4145b
2 changed files with 1 additions and 2 deletions

View File

@ -31,7 +31,6 @@ public class jskPanel : mount
int index = 1; int index = 1;
for (int i = 0; i < 5; i++) for (int i = 0; i < 5; i++)
{ {
// Debug.LogError(lands[index].GetComponent<roomcontroller>().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 = "第" + 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<roomcontroller>().ActivateValue.ToString(), icon = iconS[index - 1] }); boxTypes.Add(new BoxType { Name = "捕鱼" + index.ToString(), prompt = "捕鱼" + 1, Type = 3, goldNumerobj = lands[index-1].GetComponent<roomcontroller>().ActivateValue.ToString(), icon = iconS[index - 1] });
index++; index++;

View File

@ -31,7 +31,7 @@ public class jishadao_buy :mount
{ {
//Debug.LogError(lands[index].GetComponent<jishadao_contorl>().ActivateValue.ToString()); //Debug.LogError(lands[index].GetComponent<jishadao_contorl>().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 = "µÚ" + 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<roomcontroller>().ActivateValue.ToString(), icon = iconS[index - 1] }); boxTypes.Add(new BoxType { Name = "²¶Óã" + index.ToString(), prompt = "²¶Óã" + 1, Type = 3, goldNumerobj = lands[index - 1].GetComponent<jishadao_contorl>().ActivateValue.ToString(), icon = iconS[index - 1] });
index++; index++;
} }