LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/DisplayCompanyBuyingRate.cs
2023-12-22 18:30:10 -05:00

12 lines
251 B
C#

using TMPro;
using UnityEngine;
public class DisplayCompanyBuyingRate : MonoBehaviour
{
public TextMeshProUGUI displayText;
private void Update()
{
displayText.text = $"{Mathf.RoundToInt(StartOfRound.Instance.companyBuyingRate * 100f)}%";
}
}