摘要:
想使用Animation曲线制作变速移动, 需要 当前曲线下面积/曲线总面积 获取当前移动进度,在网上找到了unity animationCurve的实现代码,修改后做积分可以求得面积代码如下:public float AreaUnderCurve(AnimationCurve curve, float w, float h) { var areaUnderCurve = ... 阅读全文
posted @ 2019-10-24 12:40
liuchong9123
阅读(735)
评论(0)
推荐(0)

浙公网安备 33010602011771号