chenxin
2020-12-01 e36f2a3ac098d6e89d3882f3354ec69c07e71e16
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()
    {