都市解放後の処理追加
This commit is contained in:
parent
3f75052ccd
commit
838c0ecffe
|
|
@ -174,7 +174,8 @@ namespace MyGame.Scenes.WorldMap.Scripts
|
||||||
|
|
||||||
// 新店舗初期化
|
// 新店舗初期化
|
||||||
PartTimerManager.Instance.UpdateList();
|
PartTimerManager.Instance.UpdateList();
|
||||||
|
WorldMarketManager.Instance.UpdateLatestCity();
|
||||||
|
|
||||||
// 都市開放演出
|
// 都市開放演出
|
||||||
shareGate = false;
|
shareGate = false;
|
||||||
earningView.gameObject.SetActive(false);
|
earningView.gameObject.SetActive(false);
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,15 @@ namespace MyGame.Scenes.marketing.Scripts
|
||||||
market.IsPause.Value = true;
|
market.IsPause.Value = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void UpdateLatestCity()
|
||||||
|
{
|
||||||
|
var latestCityId = GameDataUtils.GetLatestCityId();
|
||||||
|
foreach (var (cityId, market) in cityMarketDict)
|
||||||
|
{
|
||||||
|
market.SetLatestCity(cityId == latestCityId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void SetActiveMarket(int cityId, bool active)
|
public void SetActiveMarket(int cityId, bool active)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue