Removed currency ammount
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Fruitomation.UI
|
||||
{
|
||||
[Header("Settings")]
|
||||
[SerializeField] private BuildingUnlock Building;
|
||||
[SerializeField] private CurrencyAmount Cost;
|
||||
[SerializeField] private double Cost;
|
||||
|
||||
[Header("References")]
|
||||
[SerializeField] private Button AttachedButton;
|
||||
@@ -30,7 +30,7 @@ namespace Fruitomation.UI
|
||||
|
||||
AttachedText.text = unlocked
|
||||
? $"{formatted}\nUnlocked"
|
||||
: $"{formatted}\n{Cost.AsString()}";
|
||||
: $"{formatted}\n{Cost:F1}";
|
||||
|
||||
AttachedButton.interactable = !unlocked;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user