Hello, I have an actor with an array of attacks (custom struct).
Inside that struct, there’s a bunch of data for the attack as well as other structs. However the other structs do not appear in the detail panel.
In the enemy.h:
UPROPERTY(EditAnywhere) TArray<struct FEnemyAttackTest> AttacksTest;
The structs used:
//Basic struct test with some vars
USTRUCT(BlueprintType)
struct FContainer{
GENERATED_BODY()
public:
FContainer() {};
float F1;
float F2;
};
//The attack with all the details in it
USTRUCT(BlueprintType)
struct FEnemyAttackTest
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere) FVector Vector1;
UPROPERTY(EditAnywhere) FContainer Test1;
UPROPERTY(EditAnywhere) FContainer Test2 = FContainer();
}
Is Unreal incapable of nesting data like that? Or do I just have some properties setup wrong?
(Note: I want them to help separate the data, otherwise the attack becomes a massive list of floats, bools, and vectors, etc)