void UpdateCDMask() { if (ActiveSkill.RealTime_CD - Time.deltaTime <= 0 && ActiveSkill.RealTime_CD != 0) { BG.GetComponent <Animator>().Play("bg_blink"); } CD_Mask.fillAmount = ActiveSkill.GetCDPortion(); }