LethalCompany/Lethal Company/ExportedProject/Assets/Scripts/Assembly-CSharp/DisplayCompanyBuyingRate.cs

13 lines
251 B
C#
Raw Permalink Normal View History

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