レシピ導線追加
This commit is contained in:
parent
1a2fe0ff21
commit
dc79ac9b32
|
|
@ -11,12 +11,11 @@ public class KitchenManager : MonoBehaviour
|
|||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
cookingButton.OnClickAsObservable().Subscribe(_ => TransitionManager.Instance.LoadScene(GameScenes.Cooking));
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
cookingButton.OnClickAsObservable().Subscribe(_ =>
|
||||
{
|
||||
// TransitionManager.Instance.LoadScene(GameScenes.Cooking);
|
||||
TransitionManager.Instance.LoadSceneAdditive(GameScenes.Recipe);
|
||||
});
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue