GKState.WillExit(GKState) 메서드

정의

로 전환하기 StateMachine 직전에 호출되었습니다 nextState.

[Foundation.Export("willExitWithNextState:")]
public virtual void WillExit (GameplayKit.GKState nextState);
abstract member WillExit : GameplayKit.GKState -> unit
override this.WillExit : GameplayKit.GKState -> unit

매개 변수

nextState
GKState
특성

설명

이 가 호출되면 의 CurrentStateStateMachine 속성은 여전히 이 GKState로 설정됩니다. 종료 시 해당 속성은 및 nextState's DidEnter(GKState) 메서드가 호출됩니다.'로 변경 nextState 됩니다.

적용 대상