GKStateMachine.FromStates(GKState[]) 方法

定义

使用指定的 states创建新 GKStateMachine 的工厂方法。

[Foundation.Export("stateMachineWithStates:")]
public static GameplayKit.GKStateMachine FromStates (GameplayKit.GKState[] states);
static member FromStates : GameplayKit.GKState[] -> GameplayKit.GKStateMachine

参数

states
GKState[]

返回

属性

适用于