File tree Expand file tree Collapse file tree 3 files changed +0
-17
lines changed
Source/Ecsact/Public/EcsactUnreal Expand file tree Collapse file tree 3 files changed +0
-17
lines changed Original file line number Diff line number Diff line change 44#include " EcsactGameInstanceSubsystem.h"
55#include " Engine/GameInstance.h"
66
7- float EcsactUnrealExecution::DeltaTime_ = 0 .f;
8-
9- auto EcsactUnrealExecution::DeltaTime () -> float {
10- return DeltaTime_;
11- }
12-
137auto EcsactUnrealExecution::Runner ( //
148 class UWorld * World
159) -> TWeakObjectPtr<class UEcsactRunner> {
Original file line number Diff line number Diff line change @@ -9,15 +9,6 @@ class ECSACT_API EcsactUnrealExecution {
99 static float DeltaTime_;
1010
1111public:
12- /* *
13- * Get the DeltaTime for the current EcsactRunner execution. This should be
14- * used by Ecsact systems that are built by unreal build tool.
15- *
16- * NOTE: This is a workaround until 'execution metadata' is available.
17- * SEE: https://github.com/ecsact-dev/ecsact_parse/issues/163
18- */
19- static auto DeltaTime () -> float;
20-
2112 /* *
2213 * Gets the runner for the given world.
2314 *
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ auto UEcsactSyncRunner::Tick(float DeltaTime) -> void {
2424 return ;
2525 }
2626
27- EcsactUnrealExecution::DeltaTime_ = DeltaTime;
28-
2927 if (registry_id == ECSACT_INVALID_ID (registry)) {
3028 if (ecsact_create_registry) {
3129 UE_LOG (
You can’t perform that action at this time.
0 commit comments