_TheStrongestSnail/TheStrongestSnail/Assets/Scripts/Battle_Royale/EggNum.cs
2024-11-13 18:01:18 +08:00

21 lines
424 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class EggNum : MonoBehaviour
{
public Text eggNumText;
public static EggNum instance;
// Start is called before the first frame update
void Start()
{
instance = this;
}
public void SetEggNumText()
{
eggNumText.text = PlayerInfo.instance.Money.ToString();
}
}