River Jiang
2020-10-28 d2bc86161bf01b9ac01ba7b4b6ee7e341778c0c2
Assets/Scripts/TowerDefense/UI/EnergyUICtl.cs
@@ -77,6 +77,12 @@
        currentProgress = pro;
    }
    public void SetEnergyProcessFloat( float fpro)
    {
        energyScaleMask.rectTransform.DOScaleY(fpro / 10.0f, 0.0f);
        currentProgress = (int)Mathf.Floor(fpro);
    }
    // Update is called once per frame
    void Update()
    {