liuzhiwei
2020-12-08 ae487b742c792c43b81cce6f060b881e5609d160
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()
    {