3.x 渐变进度条

3.x 渐变进度条,如何做?

画一张美术渐变的背景图
然后调用fill range即可


https://docs.cocos.com/creator/manual/zh/ui-system/components/editor/sprite.html?h=fill

有像 web那样,设置渐变corlor, 不使用图片的方式嘛

修改顶点颜色