GKDecisionNode.CreateBranch Method

Definition

Overloads

CreateBranch(NSNumber, NSObject)
CreateBranch(NSPredicate, NSObject)
CreateBranch(nint, NSObject)

CreateBranch(NSNumber, NSObject)

[Foundation.Export("createBranchWithValue:attribute:")]
public virtual GameplayKit.GKDecisionNode CreateBranch (Foundation.NSNumber value, Foundation.NSObject attribute);
abstract member CreateBranch : Foundation.NSNumber * Foundation.NSObject -> GameplayKit.GKDecisionNode
override this.CreateBranch : Foundation.NSNumber * Foundation.NSObject -> GameplayKit.GKDecisionNode

Parameters

value
NSNumber
attribute
NSObject

Returns

Attributes

Applies to

CreateBranch(NSPredicate, NSObject)

[Foundation.Export("createBranchWithPredicate:attribute:")]
public virtual GameplayKit.GKDecisionNode CreateBranch (Foundation.NSPredicate predicate, Foundation.NSObject attribute);
abstract member CreateBranch : Foundation.NSPredicate * Foundation.NSObject -> GameplayKit.GKDecisionNode
override this.CreateBranch : Foundation.NSPredicate * Foundation.NSObject -> GameplayKit.GKDecisionNode

Parameters

predicate
NSPredicate
attribute
NSObject

Returns

Attributes

Applies to

CreateBranch(nint, NSObject)

[Foundation.Export("createBranchWithWeight:attribute:")]
public virtual GameplayKit.GKDecisionNode CreateBranch (nint weight, Foundation.NSObject attribute);
abstract member CreateBranch : nint * Foundation.NSObject -> GameplayKit.GKDecisionNode
override this.CreateBranch : nint * Foundation.NSObject -> GameplayKit.GKDecisionNode

Parameters

weight
System.System.IntPtr System.nativeint
attribute
NSObject

Returns

Attributes

Applies to