同步版本

This commit is contained in:
wulongxiao 2024-12-20 17:33:11 +08:00
parent da2a92853e
commit 42db11f65d
2 changed files with 4 additions and 2 deletions

View File

@ -31,8 +31,9 @@ public class jskPanel : mount
int index = 1;
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 = "²¶Óã" + 1, Type = 3, goldNumerobj = lands[index].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++;
}

View File

@ -29,8 +29,9 @@ public class jishadao_buy :mount
int index = 1;
for (int i = 0; i < 3; i++)
{
//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 = "²¶Óã" + 1, Type = 3, goldNumerobj = lands[index].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++;
}