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