FT - EpisodeSubSystem

+ Integrate DataTransfer plugin into project
+ Raw architecture of EpisodeSubSystem
This commit is contained in:
Jb win
2025-05-02 23:23:25 +07:00
parent 5e47dd5c55
commit 440d079225
6 changed files with 119 additions and 7 deletions

View File

@ -0,0 +1,35 @@
#pragma once
#include "CoreMinimal.h"
#include "Subsystems/WorldSubsystem.h"
#include "EpisodeSubSystem.generated.h"
class ARobotPawn;
UCLASS()
class LUCKYWORLDV2_API UEpisodeSubSystem : public UWorldSubsystem
{
GENERATED_BODY()
public:
// Setup
UEpisodeSubSystem();
virtual void Initialize(FSubsystemCollectionBase& Collection);
virtual void Deinitialize();
virtual void Tick(float DeltaTime);
// ---------------------
// ------- START -------
// ---------------------
/**
* Called by the UI when pressing the "Capture" button
*/
void StartNewEpisode();
private:
bool bIsCapturing = false;
UPROPERTY()
TObjectPtr<ARobotPawn> CurrentRobot;
};