Share via


GKState.IsValidNextState Method

Definition

Overloads

Name Description
IsValidNextState(GKState)

Whether the StateMachine can transition from this GKState to state.

IsValidNextState(Class)
IsValidNextState(Type)

Whether the StateMachine can transition from this GKState to stateType.

IsValidNextState(GKState)

Whether the StateMachine can transition from this GKState to state.

public bool IsValidNextState(GameplayKit.GKState state);
member this.IsValidNextState : GameplayKit.GKState -> bool

Parameters

state
GKState

Returns

Applies to

IsValidNextState(Class)

[Foundation.Export("isValidNextState:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool IsValidNextState(ObjCRuntime.Class stateClass);
[<Foundation.Export("isValidNextState:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member IsValidNextState : ObjCRuntime.Class -> bool
override this.IsValidNextState : ObjCRuntime.Class -> bool

Parameters

stateClass
Class

Returns

Attributes

Applies to

IsValidNextState(Type)

Whether the StateMachine can transition from this GKState to stateType.

public bool IsValidNextState(Type stateType);
member this.IsValidNextState : Type -> bool

Parameters

stateType
Type

Returns

Applies to