通過CGMutablePath() 畫出移動路線。 執行位置移動的動畫交給CAKeyframeAnimation(keyPath: "position") 來做。 let targetX = coinView.layer.position.x ...
確定! 回上一頁