Removed currency ammount
This commit is contained in:
@@ -27,7 +27,7 @@ namespace Fruitomation.UI
|
||||
[Header("Settings")]
|
||||
[SerializeField] private BasicUpgrade Upgrade;
|
||||
[SerializeField] private bool DrawDefaultLines;
|
||||
[SerializeField] private CurrencyAmount Cost;
|
||||
[SerializeField] private double Cost;
|
||||
[SerializeField] private bool BigText;
|
||||
|
||||
[Header("References")]
|
||||
@@ -162,7 +162,7 @@ namespace Fruitomation.UI
|
||||
{
|
||||
UpgradeState.Hidden => "???",
|
||||
UpgradeState.Viewable => $"{formatted}",
|
||||
UpgradeState.Unlockable => $"{formatted}\n{Cost.AsString()}",
|
||||
UpgradeState.Unlockable => $"{formatted}\n{Cost:F1}",
|
||||
UpgradeState.Unlocked => $"{formatted}\nUnlocked",
|
||||
var _ => throw new ArgumentOutOfRangeException()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user