天津23维预案
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
295 B

using UnityEngine;
using UIWidgets;
[RequireComponent(typeof(Progressbar))]
public class SampleProgressbar : MonoBehaviour
{
void Start()
{
var bar = GetComponent<Progressbar>();
bar.TextFunc = x => {
return string.Format("Exp to next level: {0} / {1}", x.Value, x.Max);
};
}
}