void Awake() { //设置窗体默认性质 base.CurrentUIType.UIForms_Type = UIFormsType.PopUp; base.CurrentUIType.UIForms_ShowMode = UIFormsShowMode.HideOther; base.CurrentUIType.UIForms_LucencyType = UIFormsLucencyType.Lucency; Slider = UnityHelper.FindTheChild(this.gameObject, "Slider").GetComponent <Slider>(); l_progress = UnityHelper.FindTheChild(this.gameObject, "l_progress").GetComponent <Text>(); }