Ejemplo n.º 1
0
        public void Tick(float DeltaTime)
        {
            Selector_?.Tick(DeltaTime);

            if (Skill.IsCD)
            {
                Mask_.fillAmount = (1 - Skill.Time / Skill.CD);
                CDText_.gameObject.SetActive(true);
                CDText_.text = $"{Skill.Time:0.0}s";
            }
            else
            {
                CDText_.gameObject.SetActive(false);
                Mask_.fillAmount = 1;
            }
        }