Hello! I’ve been wondering, is there a way to have sub variables? Kind of like a tmap but only one variable where you could expand the variable to get sub variables of them or “members”. Perhaps using UProperty? Thanks!

Hello! I’ve been wondering, is there a way to have sub variables? Kind of like a tmap but only one variable where you could expand the variable to get sub variables of them or “members”. Perhaps using UProperty? Thanks!

I assume you aware of structures considering you made that map.
There so such thing, you might be able to do some hacks with unions (Union declaration - cppreference.com) but UE4 reflection system don’t support them
You can also create custom UI for structure that looks like that
USTRUCT()
struct MyStruct
{
float MyFloat;
FVector MyVector;
AActor* MyActor;
bool Etc;
};
Thanks mightyenigma but I already know how to make structures. already said it isn’t possible without either going into unions or creating custom UI and I’ll probably not go for all that trouble just for one small visual feature. Thanks anyway!