Exemple #1
0
 private void Awake()
 {
     this._hpSlider              = base.transform.Find("HPBar").GetComponent <MonoSliderGroupWithPhase>();
     this._shieldSlider          = base.transform.Find("ShieldBar").GetComponent <MonoMaskSlider>();
     this.WHITE_NAME_DIFF_LEVEL  = MiscData.Config.BasicConfig.PlayerPunishLevelDifferenceStepOne;
     this.YELLOW_NAME_DIFF_LEVEL = MiscData.Config.BasicConfig.PlayerPunishLevelDifferenceStepTwo;
     this.RED_NAME_DIFF_LEVEL    = MiscData.Config.BasicConfig.PlayerPunishLevelDifferenceStepThree;
 }
Exemple #2
0
 private void OnDestroy()
 {
     this.background             = null;
     this.iconGameObject         = null;
     this.title                  = null;
     this.description            = null;
     this.rewardObjects          = null;
     this.fetchButton            = null;
     this.progressPercentageText = null;
     this.progressSlider         = null;
     this.succIcon               = null;
     this.fetchIcon              = null;
 }
Exemple #3
0
 private void OnDestroy()
 {
     if (this._material != null)
     {
         UnityEngine.Object.DestroyImmediate(this._material);
     }
     this.maskShader = null;
     if (this.maskImage != null)
     {
         this.maskImage.sprite = null;
     }
     this.maskImage  = null;
     this.maskSlider = null;
 }