I have two scenes: my GameScene where the player tries to beats his score and GameOverScene which I present to the player when he loses:
func changeScene() {
let scene = GameOverScene()
view.presentScene(scene)
}
Basically I want to pass the player score to my GameOverScene so I can show it to the player. The score is stored in the property: "score: Int" inside my GameScene, but I'm not sure how to pass it between scenes. How can I do it?