Organize the code related to selecting robots and levels in blueprints into C++, and organize the related referenced blueprints

This commit is contained in:
martinluckyrobots
2025-03-31 14:59:07 +08:00
parent 73fb958f07
commit c35cf74b49
18 changed files with 130 additions and 74 deletions

View File

@ -15,6 +15,13 @@ class LUCKYROBOTS_API ULuckyRobotsGameInstance : public UGameInstance
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Config")
UDataTable* RobotDataDataTable;
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Config")
UDataTable* LevelDataTable;
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
ERobotsName CurrentSelectRobot;
@ -24,4 +31,6 @@ public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
EQualityEnum CurrentSelectQuality;
};