共用方式為


GKState.DidEnter(GKState) 方法

定義

當擁有 GKStateMachine 者轉換為這個 GKState 時呼叫。

[Foundation.Export("didEnterWithPreviousState:")]
public virtual void DidEnter (GameplayKit.GKState previousState);
abstract member DidEnter : GameplayKit.GKState -> unit
override this.DidEnter : GameplayKit.GKState -> unit

參數

previousState
GKState

即將加入。

這個參數可以是 null

屬性

適用於