Petition-to-the-Gods-V3/Assets/Scripts/Server/ServerTaskbarScore.cs
2025-11-15 08:01:59 +08:00

32 lines
558 B
C#

using TMPro;
using UnityEngine;
public class ServerTaskbarScore : MonoBehaviour
{
public static ServerTaskbarScore Instance;
public static int scoreVal = 60;
public TMP_Text val;
private void Awake()
{
Instance = this;
}
// Start is called once before the first execution of Update after the MonoBehaviour is created
void Start()
{
}
// Update is called once per frame
void Update()
{
}
public void UpdateScore()
{
val.text = scoreVal.ToString();
}
}