チュートリアル中のUI表示修正
This commit is contained in:
parent
34735a3456
commit
f954f83749
|
|
@ -69,7 +69,7 @@ public class MarketManager : MonoBehaviour
|
||||||
GameDataManager.SaveGameData();
|
GameDataManager.SaveGameData();
|
||||||
walkerMask.gameObject.SetActive(false);
|
walkerMask.gameObject.SetActive(false);
|
||||||
resetRefreshTimer.OnNext(Unit.Default);
|
resetRefreshTimer.OnNext(Unit.Default);
|
||||||
SetShopView(market.CurrentShopState.Value);
|
rewardButtonView.gameObject.SetActive(true);
|
||||||
}).AddTo(controller).AddTo(this);
|
}).AddTo(controller).AddTo(this);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
@ -220,7 +220,6 @@ public class MarketManager : MonoBehaviour
|
||||||
|
|
||||||
// 開閉店
|
// 開閉店
|
||||||
market.CurrentShopState
|
market.CurrentShopState
|
||||||
.SkipWhile(_ => !gameData.FinishedFlags.HasFlag(TutorialFlag.FirstPlay))
|
|
||||||
.Subscribe(state =>
|
.Subscribe(state =>
|
||||||
{
|
{
|
||||||
SetShopView(state);
|
SetShopView(state);
|
||||||
|
|
@ -232,6 +231,7 @@ public class MarketManager : MonoBehaviour
|
||||||
// 宣伝ボタン/試食表示切替
|
// 宣伝ボタン/試食表示切替
|
||||||
var tastingComplete = new Subject<Unit>().AddTo(this);
|
var tastingComplete = new Subject<Unit>().AddTo(this);
|
||||||
market.CurrentShopState
|
market.CurrentShopState
|
||||||
|
.SkipWhile(_ => !gameData.FinishedFlags.HasFlag(TutorialFlag.FirstPlay))
|
||||||
.CombineLatest(market.IsPromotion, tastingComplete, (shopState, isPromotion, _) => (shopState == ShopState.Open, isPromotion))
|
.CombineLatest(market.IsPromotion, tastingComplete, (shopState, isPromotion, _) => (shopState == ShopState.Open, isPromotion))
|
||||||
.Subscribe(x =>
|
.Subscribe(x =>
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue