I'm making a a project that has to use swift playground (.swiftpm); It uses swiftUI for some elements but the main is on a SpriteKit Scene. My problem is that I want to use a particle and it just can't find it.
func moveSubmarine(newPosition : Float){
if let bubble = SKEmitterNode(fileNamed: "Bubbles.sks") {
submarine.addChild(bubble)
}
else{
print("No particle found")
}
checkDepthForEvent(newPosition)
}
