예제 #1
0
 public void LevelsButtonClick()
 {
     if (_menuLoader.SceneType != MenuSceneType.Levels)
     {
         _menuLoader.SetCanvasDisable();
         _menuLoader.LoadScene(MenuSceneType.Levels);
     }
 }
 public void InventoryButtonClick()
 {
     if (_menuLoader.SceneType != MenuSceneType.Inventory)
     {
         _menuLoader.SetCanvasDisable();
         _menuLoader.LoadScene(MenuSceneType.Inventory);
     }
 }
예제 #3
0
 public void ShopButton()
 {
     Debug.Log("It alive");
     if (_menuLoader.SceneType != MenuSceneType.Shop)
     {
         _menuLoader.SetCanvasDisable();
         _menuLoader.LoadScene(MenuSceneType.Shop);
     }
 }