wangguan
2020-12-29 452c75675679c44cc39b04bdb7d330d7c5c14d5c
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()
    {