Creates a transition where the new scene appears as a pair of opening horizontal doors.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
Framework
- Sprite
Kit
Declaration
class func doorsOpenHorizontal(withDuration sec: Time Interval) -> SKTransition
Parameters
sec
The duration of the transition.
Return Value
A new transition.