using UnityEngine; using UnityEngine.UI; using UIWidgets; namespace UIWidgetsSamples { [RequireComponent(typeof(Button))] public class SampleProgressBar1 : MonoBehaviour { public Progressbar bar; Button button; void Start() { button = GetComponent