所持フライパンが1つの場合レシピのフライパン選択矢印を非表示
This commit is contained in:
parent
3873bd7f15
commit
b8353af531
|
|
@ -46,6 +46,10 @@ public class PanSelector : MonoBehaviour
|
|||
{
|
||||
selectedIndex.Value = selectedIndex.Value == panCount - 1 ? 0 : selectedIndex.Value + 1;
|
||||
}).AddTo(this);
|
||||
|
||||
// 所持フライパン1だったら選択矢印非表示
|
||||
prevPanButton.gameObject.SetActive(panCount > 1);
|
||||
nextPanButton.gameObject.SetActive(panCount > 1);
|
||||
}
|
||||
|
||||
private void SetData(PanData data)
|
||||
|
|
|
|||
Loading…
Reference in New Issue