Contents

rootNode

The SpriteKit scene managed by this Gkscene object.

Declaration

var rootNode: (any GKSceneRootNodeType)? { get set }

Discussion

The GKSceneRootNodeType protocol is an indirect type for game scene classes that the GKScene class can load. SKScene is the only class currently supported for loading with the GKScene class.