diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..dbd8140 Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/Source/EnhancedCodeFlow/Public/CodeFlowActions/ECFTimeline.h b/Source/EnhancedCodeFlow/Public/CodeFlowActions/ECFTimeline.h index 49d3b0b..5126880 100644 --- a/Source/EnhancedCodeFlow/Public/CodeFlowActions/ECFTimeline.h +++ b/Source/EnhancedCodeFlow/Public/CodeFlowActions/ECFTimeline.h @@ -57,11 +57,11 @@ class ENHANCEDCODEFLOW_API UECFTimeline : public UECFActionBase bool Setup(float InStartValue, float InStopValue, float InTime, TUniqueFunction&& InTickFunc, TUniqueFunction&& InCallbackFunc, EECFBlendFunc InBlendFunc, float InBlendExp) { CallbackFunc_NoStopped = MoveTemp(InCallbackFunc); - return Setup(InStartValue, InStopValue, InTime, MoveTemp(InTickFunc), [this](float Value, float Time, bool bStopped) + return Setup(InStartValue, InStopValue, InTime, MoveTemp(InTickFunc), [this](float FwdValue, float FwdTime, bool bStopped) { if (CallbackFunc_NoStopped) { - CallbackFunc_NoStopped(Value, Time); + CallbackFunc_NoStopped(FwdValue, FwdTime); } }, InBlendFunc, InBlendExp); } diff --git a/Source/EnhancedCodeFlow/Public/Coroutines/ECFCoroutineAwaiters.h b/Source/EnhancedCodeFlow/Public/Coroutines/ECFCoroutineAwaiters.h index 8f07a1f..86d0ed0 100644 --- a/Source/EnhancedCodeFlow/Public/Coroutines/ECFCoroutineAwaiters.h +++ b/Source/EnhancedCodeFlow/Public/Coroutines/ECFCoroutineAwaiters.h @@ -18,11 +18,11 @@ class ENHANCEDCODEFLOW_API FECFCoroutineAwaiter // Helper function for adding coroutine actions to the ECF subsystem. template - void AddCoroutineAction(const UObject* InOwner, FECFCoroutineHandle InCoroutineHandle, const FECFActionSettings& Settings, Ts&& ... Args) + void AddCoroutineAction(const UObject* InOwner, FECFCoroutineHandle InCoroutineHandle, const FECFActionSettings& InSettings, Ts&& ... Args) { if (UECFSubsystem* ECF = UECFSubsystem::Get(InOwner)) { - ECF->AddCoroutineAction(InOwner, InCoroutineHandle, Settings, Forward(Args)...); + ECF->AddCoroutineAction(InOwner, InCoroutineHandle, InSettings, Forward(Args)...); } }