15 lines
294 B
C#
15 lines
294 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using TMPro;
|
|
|
|
public class UIController : MonoBehaviour
|
|
{
|
|
[SerializeField]private TMP_Text pointsTxt;
|
|
|
|
public void UpdatePointsText(float points)
|
|
{
|
|
pointsTxt.text = points.ToString("0");
|
|
}
|
|
}
|