Fix substate label issue and add IsAfterFrame and IsBeforeFrame macros
This commit is contained in:
parent
b3cee07ada
commit
c43aca536a
Binary file not shown.
@ -115,9 +115,9 @@ void UFFStateMachineComponent::GoToState(UFFState* NewState)
|
||||
|
||||
CurrentState->Exit(GetCurrentStateContext());
|
||||
CurrentState = NewState;
|
||||
CurrentState->Enter(GetCurrentStateContext());
|
||||
TicksInState = 0;
|
||||
CurrentSubStateLabel = NAME_None;
|
||||
CurrentState->Enter(GetCurrentStateContext());
|
||||
}
|
||||
|
||||
void UFFStateMachineComponent::GoToEntryState()
|
||||
|
@ -94,7 +94,7 @@ public:
|
||||
FORCEINLINE FName GetCurrentSubStateLabel() const;
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
FORCEINLINE void SetSubStateLabel(FName InSubStateLabel);
|
||||
void SetSubStateLabel(FName InSubStateLabel);
|
||||
|
||||
/**
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user