using System.Collections; using System.Collections.Generic; using UnityEngine; using TMPro; public class BalanceDisplay : MonoBehaviour { public TMP_Text text; private void Update() { // idgaf UpdateText(GameManager.Instance.Balance.Value); } private void UpdateText(float balance) { text.text = $"$ {balance}"; } }