Added all upgrade buttons

This commit is contained in:
Pasha Bibko
2026-04-16 14:07:10 +01:00
parent 646ef895c3
commit a41696e4db
6 changed files with 6495 additions and 64 deletions

View File

@@ -1,21 +0,0 @@
using UnityEngine;
using UnityEngine.UI;
namespace Fruitomation.Game
{
public class BasicUpgradeButton : MonoBehaviour
{
[Header("Settings")]
[SerializeField] private BasicUpgrade Upgrade;
[SerializeField] private int UpgradeCost;
private void Awake()
{
Button b = GetComponent<Button>();
b.onClick.AddListener(() =>
{
UpgradeManager.Unlock(Upgrade);
});
}
}
}

View File

@@ -1,3 +0,0 @@
fileFormatVersion: 2
guid: f9c5dbc6e19942c19f4dc93fc3777677
timeCreated: 1776177196