25 lines
600 B
C#
25 lines
600 B
C#
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 = "ľͷ£º" + GameProcedureManager.Instance.WoodCount;
|
|
stone.text = "ʯͷ£º" + GameProcedureManager.Instance.StoneCount;
|
|
faith.text = "ÐÅÑö£º" + GameProcedureManager.Instance.FaithCount;
|
|
}
|
|
}
|