13 lines
251 B
C#
13 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)}%";
|
||
|
}
|
||
|
}
|