One Logo Pool Ball
GameplayKit · IOS API REFERENCE

GKDecisionNode

class · iOS 10.0+ · SDK 27.1

class GKDecisionNode

Members (4)

method · iOS 10.0+

createBranch

TypeScript
createBranchPredicateAttribute(predicate: _Foundation_NSPredicate, attribute: SDKHandle): GKDecisionNode
Swift declaration
func createBranch(predicate: NSPredicate, attribute: any NSObjectProtocol) -> Self
method · iOS 10.0+

createBranch

TypeScript
createBranchValueAttribute(value: _Foundation_NSNumber, attribute: SDKHandle): GKDecisionNode
Swift declaration
func createBranch(value: NSNumber, attribute: any NSObjectProtocol) -> Self
method · iOS 10.0+

createBranch

TypeScript
createBranchWeightAttribute(weight: number, attribute: SDKHandle): GKDecisionNode
Swift declaration
func createBranch(weight: Int, attribute: any NSObjectProtocol) -> Self
init

init

TypeScript
static init(): GKDecisionNode
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All GameplayKit types →