MayHeCome/Assets/ChengHui/Script/ResourcesNum_UI.cs

25 lines
600 B
C#
Raw Permalink Normal View History

2024-12-18 09:55:34 +00:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ResourcesNum_UI : MonoBehaviour
{
public Text wood;
public Text stone;
public Text faith;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
wood.text = "ľͷ<C4BE><CDB7>" + GameProcedureManager.Instance.WoodCount;
stone.text = "ʯͷ<CAAF><CDB7>" + GameProcedureManager.Instance.StoneCount;
faith.text = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" + GameProcedureManager.Instance.FaithCount;
}
}