편집

다음을 통해 공유


GKStateMachine.GetState Method

Definition

Overloads

GetState(GKState)
GetState(Class)
GetState(Type)

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:")]
protected virtual GameplayKit.GKState GetState (ObjCRuntime.Class stateClass);
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