Example #1
0
 // ===================== 继承 ==================
 public override void InitUIData()
 {
     base.InitUIData();
     Inst                 = this;
     BackImg              = selfTransform.FindChild("BackImg").GetComponent <Image>();
     FillImage            = selfTransform.FindChild("Fill").GetComponent <Image>();
     FillImage.fillAmount = 0;
     PercentageText       = selfTransform.FindChild("PercentageText").GetComponent <Text>();
     ReleaseText          = selfTransform.FindChild("ReleaseText").GetComponent <Text>();
     DownSpeed            = selfTransform.FindChild("downSpeedText").GetComponent <Text>();
 }
Example #2
0
 void OnDestroy()
 {
     Inst = null;
 }