You've already forked LuckyWorld
Optimizing WB_CaptureSettings
This commit is contained in:
@ -42,6 +42,9 @@ public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Config")
|
||||
UDataTable* BathroomDataTable;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Config")
|
||||
TSubclassOf<AActor> TargetSelectorClass;
|
||||
|
||||
public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Config")
|
||||
TArray<FString> AlphabetForRandomList;
|
||||
@ -106,8 +109,6 @@ public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Random Mesh")
|
||||
bool bIsRandomPannel;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Random Mesh")
|
||||
bool bIsRandomRobotPosition;
|
||||
|
||||
public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
@ -119,9 +120,6 @@ public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
EQualityEnum CurrentSelectQuality = EQualityEnum::Epic;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
TArray<FGoalsTaskData> TaskList;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
FGoalsTaskData TempTask;
|
||||
|
||||
@ -206,6 +204,9 @@ public:
|
||||
UFUNCTION(BlueprintCallable)
|
||||
FParsedData DoJsonParse(const FString& JsonString);
|
||||
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void UpdateTargetSelector();
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintCallable)
|
||||
void SetCurrentFolderName(const FString& FolderName);
|
||||
|
29
Source/Luckyrobots/Public/Gameplay/TargetSelector.h
Normal file
29
Source/Luckyrobots/Public/Gameplay/TargetSelector.h
Normal file
@ -0,0 +1,29 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "GameFramework/Actor.h"
|
||||
#include "TargetSelector.generated.h"
|
||||
|
||||
UCLASS()
|
||||
class LUCKYROBOTS_API ATargetSelector : public AActor
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
// Sets default values for this actor's properties
|
||||
ATargetSelector();
|
||||
|
||||
protected:
|
||||
// Called when the game starts or when spawned
|
||||
virtual void BeginPlay() override;
|
||||
|
||||
public:
|
||||
// Called every frame
|
||||
virtual void Tick(float DeltaTime) override;
|
||||
|
||||
public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
bool bIsTracing = true;
|
||||
};
|
@ -4,6 +4,7 @@
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Blueprint/UserWidget.h"
|
||||
#include "SharedDef.h"
|
||||
#include "CaptureSettingsUserWidget.generated.h"
|
||||
|
||||
/**
|
||||
@ -14,4 +15,11 @@ class LUCKYROBOTS_API UCaptureSettingsUserWidget : public UUserWidget
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
bool bIsOpen;
|
||||
|
||||
public:
|
||||
UFUNCTION(BlueprintCallable, BlueprintImplementableEvent)
|
||||
void BPRefreshTaskList();
|
||||
};
|
||||
|
Reference in New Issue
Block a user