CycleValue是什么意思
swift吧
全部回复
仅看楼主
level 1
好看i双子 楼主
// 基于放置的图形数量,比例在 0.0 到 maxScale 之间循环。
var driftCount = 0
let maxScale = 3
graphic.scale= maxScale * cycleValue(n: driftCount)
driftCount += 1
我一直不明白cycleValue,在代码是什么意思和作用!有没有人解释一下,谢谢🙏
2021年05月30日 10点05分 1
1