有 SKShapeNode 但它不能与遮罩一起使用。
是否有相当于 UIView 的 -drawRect: 或 CALayer 的 -renderInContext: 在 Sprite Kit 中的?我看着SKSpriteNode。看不到使用 Core Graphics 函数执行自定义绘图的方法。
你会怎么做?
有 SKShapeNode 但它不能与遮罩一起使用。
是否有相当于 UIView 的 -drawRect: 或 CALayer 的 -renderInContext: 在 Sprite Kit 中的?我看着SKSpriteNode。看不到使用 Core Graphics 函数执行自定义绘图的方法。
你会怎么做?