Removed currency ammount
This commit is contained in:
@@ -9,11 +9,12 @@ namespace Fruitomation.Global
|
||||
private static MoneyController Instance;
|
||||
|
||||
[SerializeField, InspectorReadOnly("Current Money")]
|
||||
private CurrencyAmount InternalCurrentMoney = new();
|
||||
public static CurrencyAmount Current => Instance.InternalCurrentMoney;
|
||||
private double InternalCurrentMoney = new();
|
||||
public static double Current => Instance.InternalCurrentMoney;
|
||||
|
||||
public static void Add(CurrencyAmount amount)
|
||||
public static void Add(double amount)
|
||||
{
|
||||
Instance.InternalCurrentMoney += amount;
|
||||
}
|
||||
|
||||
private void Awake()
|
||||
|
||||
Reference in New Issue
Block a user