using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class HorseInfo : MonoBehaviour { public int KnightId; public int HorseNo; public int HorseUserNo; public float HorseBeansCoin; public Text numText; public snailRider snail; public Text betText; public float BetCoins=0;//ÎÒͶעµÄÊý private void Start() { betText.text = BetCoins.ToString(); } }