购买船的bug修了

This commit is contained in:
wulongxiao 2024-12-20 16:37:36 +08:00
parent 58b9e729cf
commit da2a92853e
5 changed files with 239 additions and 231 deletions

File diff suppressed because it is too large Load Diff

@ -1 +1 @@
Subproject commit 4d4a9e5b0bae004fcd6f9d0c48da0467bfeaa7aa
Subproject commit 5a778abdbc07bcac0d2382db6ef0eef9a8842836

View File

@ -32,7 +32,7 @@ public class jskPanel : mount
for (int i = 0; i < 5; i++)
{
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 = (200 * index).ToString(), icon = iconS[index - 1] });
boxTypes.Add(new BoxType { Name = "²¶Óã" + index.ToString(), prompt = "²¶Óã" + 1, Type = 3, goldNumerobj = lands[index].GetComponent<roomcontroller>().ActivateValue.ToString(), icon = iconS[index - 1] });
index++;
}

View File

@ -132,9 +132,9 @@ public class roomcontroller : MonoBehaviour
fishManShipContorl.init(this.paths, this.pathsNeedTimer, this.fishingNeedTimer, this.restTimer, this.startPos, this.endPos);
Debug.Log("¸üд¬Ê±¼ä");
return;
}
musk.gameObject.SetActive(false);
fishMan = GameObject.Instantiate(fishManPrefab, this.transform);
fishMan.transform.position = startPos.position;

View File

@ -30,7 +30,7 @@ public class jishadao_buy :mount
for (int i = 0; i < 3; i++)
{
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 = (200 * index).ToString(), icon = iconS[index - 1] });
boxTypes.Add(new BoxType { Name = "²¶Óã" + index.ToString(), prompt = "²¶Óã" + 1, Type = 3, goldNumerobj = lands[index].GetComponent<roomcontroller>().ActivateValue.ToString(), icon = iconS[index - 1] });
index++;
}