GKStateMachine.EnterState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnterState(GKState) |
Attempts to transition from the current state to the specified |
EnterState(Class) |
Attempts to transition from the current state to the state that is identified by the specified |
EnterState(Type) |
Attempts to transition from CurrentState to |
EnterState(GKState)
EnterState(Class)
Attempts to transition from the current state to the state that is identified by the specified stateClass
.
[Foundation.Export("enterState:")]
protected virtual bool EnterState (ObjCRuntime.Class stateClass);
abstract member EnterState : ObjCRuntime.Class -> bool
override this.EnterState : ObjCRuntime.Class -> bool
Parameters
- stateClass
- Class
Returns
- Attributes
Applies to
EnterState(Type)
Attempts to transition from CurrentState to stateType
.
public virtual bool EnterState (Type stateType);
abstract member EnterState : Type -> bool
override this.EnterState : Type -> bool
Parameters
- stateType
- Type
Returns
true
if the transition succeeded.