岛主竞拍bug

This commit is contained in:
杨号敬 2025-01-06 09:15:44 +08:00
parent c80d29ef44
commit c7df1cdf74

View File

@ -30,6 +30,11 @@ public class Islandpanel : MonoBehaviour
introtext.text = response.Data.intro_text;
InvesttotalText.text = response.Data.invest_total.ToString();
remainingTime = response.Data.countdown;
if(response.Data.island_id==0)
{
Dao.gameObject.SetActive(false);
islandname.gameObject.SetActive(false);
}
islandname.text = response.Data.island_name;
UpdateCountdownText(remainingTime);
Dao.sprite = dao[response.Data.island_id];