GKState.IsValidNextState Method

Definition

Overloads

IsValidNextState(GKState)

Whether the StateMachine can transition from this GKState to stateClass.

IsValidNextState(Class)

Whether the StateMachine can transition from this GKState to stateClass.

IsValidNextState(Type)

Whether the StateMachine can transition from this GKState to stateType.

IsValidNextState(GKState)

Whether the StateMachine can transition from this GKState to stateClass.

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

Parameters

state
GKState

Returns

Applies to

IsValidNextState(Class)

Whether the StateMachine can transition from this GKState to stateClass.

[Foundation.Export("isValidNextState:")]
public virtual bool IsValidNextState (ObjCRuntime.Class stateClass);
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