自動調理器の表示条件を都市レベルに変更
This commit is contained in:
parent
414fae4325
commit
3c430f264c
|
@ -123,7 +123,7 @@ public class KitchenManager : MonoBehaviour
|
|||
// バイト有効時は自動調理と大量注文が非表示
|
||||
partTimerButtonView.gameObject.SetActive(isPartTimer);
|
||||
orderIndicatorView.gameObject.SetActive(!isPartTimer);
|
||||
autoCookView.SetActive(!isPartTimer && globalGameData.ViewedShopLevel >= Const.AutoCookAvailableLevel);
|
||||
autoCookView.SetActive(!isPartTimer && cityGameData.ViewedShopLevel >= Const.AutoCookAvailableLevel);
|
||||
kitchenView.SetActive(!isPartTimer);
|
||||
|
||||
// 大量注文の調理から戻ってきたときにダイアログ開く
|
||||
|
@ -265,7 +265,7 @@ public class KitchenManager : MonoBehaviour
|
|||
}
|
||||
kitchenView.SetActive(true);
|
||||
CheckOrderAndSetPhoneTap();
|
||||
autoCookView.SetActive(globalGameData.ViewedShopLevel >= Const.AutoCookAvailableLevel);
|
||||
autoCookView.SetActive(cityGameData.ViewedShopLevel >= Const.AutoCookAvailableLevel);
|
||||
});
|
||||
}).AddTo(this);
|
||||
|
||||
|
|
Loading…
Reference in New Issue