【发布时间】:2015-01-21 17:06:32
【问题描述】:
I fount this solution but I can't make it into swift code
这就是我的尝试
var pattern[2]:CGFloat; this
var dashed: CGPathRef = CGPathCreateCopyByDashingPath(CGPathCreateCopyByDashingPath(path, transform, phase, lengths, count);
var myShapeNode: SKShapeNode!;
var CGPathCreateCopyByDashingPath:CGPathRef;
【问题讨论】:
-
你在哪里失败了?向我们展示你的尝试。
-
请将该代码添加到您的问题中。
-
问题被问得很糟糕。代码格式不正确
标签: swift sprite-kit cgpath skshapenode