同步版本
This commit is contained in:
parent
da2a92853e
commit
42db11f65d
@ -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++;
|
||||
}
|
||||
|
||||
|
@ -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++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user