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); } }
public void ShopButton() { Debug.Log("It alive"); if (_menuLoader.SceneType != MenuSceneType.Shop) { _menuLoader.SetCanvasDisable(); _menuLoader.LoadScene(MenuSceneType.Shop); } }