private void Awake() { RoleLoadingUI.m_instance = this; base.AwakeBase(BindingContext.BindingContextMode.MonoBinding, false); this.Point1 = base.FindTransform("point1"); this.m_spProgressBg = base.FindTransform("Slider").GetComponent <Slider>(); this.m_lblProgressText = base.FindTransform("ProgressText").GetComponent <Text>(); this.m_speed = base.FindTransform("speed").GetComponent <Text>(); this.m_downTime = base.FindTransform("downTime").GetComponent <Text>(); this.m_Bg = base.FindTransform("Image").GetComponent <RawImage>(); }
protected override void ReleaseSelf(bool calledDestroy) { this.DeleteSpine(); RoleLoadingUI.m_instance = null; base.ReleaseSelf(true); }