Share via


GKStateMachine.GetState Method

Definition

Overloads

GetState(GKState)

public GameplayKit.GKState? GetState(GameplayKit.GKState state);
member this.GetState : GameplayKit.GKState -> GameplayKit.GKState

Parameters

state
GKState

Returns

Applies to

GetState(Class)

[Foundation.Export("stateForClass:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
protected virtual GameplayKit.GKState? GetState(ObjCRuntime.Class stateClass);
[<Foundation.Export("stateForClass:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetState : ObjCRuntime.Class -> GameplayKit.GKState
override this.GetState : ObjCRuntime.Class -> GameplayKit.GKState

Parameters

stateClass
Class

Returns

Attributes

Applies to

GetState(Type)

public GameplayKit.GKState? GetState(Type stateType);
member this.GetState : Type -> GameplayKit.GKState

Parameters

stateType
Type

Returns

Applies to