USTRUCT(BlueprintType)
struct FRTSPlayer
{
GENERATED_USTRUCT_BODY()
...
// own units
UPROPERTY()
FRTSUnitManager RTSUnitManager;
...
};
USTRUCT()
struct FRTSUnitManager
{
GENERATED_USTRUCT_BODY()
...
UPROPERTY()
FRTSPlayer* RTSPlayer;
...
};
The code above causes me to get the error that type must be a UCLASS, USTRUCT or UENUM.
I know removing the UPROPERTY() would allow it to work but i need to be able to edit it in blueprints. Anyway to do this?
Thank you