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 4
4
#include " EcsactGameInstanceSubsystem.h"
5
5
#include " Engine/GameInstance.h"
6
6
7
- float EcsactUnrealExecution::DeltaTime_ = 0 .f;
8
-
9
- auto EcsactUnrealExecution::DeltaTime () -> float {
10
- return DeltaTime_;
11
- }
12
-
13
7
auto EcsactUnrealExecution::Runner ( //
14
8
class UWorld * World
15
9
) -> TWeakObjectPtr<class UEcsactRunner> {
Original file line number Diff line number Diff line change @@ -9,15 +9,6 @@ class ECSACT_API EcsactUnrealExecution {
9
9
static float DeltaTime_;
10
10
11
11
public:
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
-
21
12
/* *
22
13
* Gets the runner for the given world.
23
14
*
Original file line number Diff line number Diff line change @@ -24,8 +24,6 @@ auto UEcsactSyncRunner::Tick(float DeltaTime) -> void {
24
24
return ;
25
25
}
26
26
27
- EcsactUnrealExecution::DeltaTime_ = DeltaTime;
28
-
29
27
if (registry_id == ECSACT_INVALID_ID (registry)) {
30
28
if (ecsact_create_registry) {
31
29
UE_LOG (
You can’t perform that action at this time.
0 commit comments