I have a SCNView showing an overlay SKView.
I want to transition to another overlay SKView.
let newScene = MyNewSKScene()
let reveal = SKTransition.reveal(with: .down, duration: 1)
currentSKScene.view?.presentScene(newScene, transition: reveal)
doesn’t work because currentSKScene.view
is a SCNView
, which doesn’t have the presentScene(:transition:)
API as SKView
has.
Any solution ?