class MAZEGAME_API AMaze : public AActor
Is the beginning of my class, leading me to think you are suggesting
USTRUCT(BlueprintType)
struct MAZEGAME_API FMazeRow
{
GENERATED_USTRUCT_BODY()
//or could be using a simple data type instead of a Data Unit Struct
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Maze Array")
TArray<bool> col;
FMazeRow(){}
};
USTRUCT(BlueprintType)
struct MAZEGAME_API FMazeArray
{
GENERATED_USTRUCT_BODY()
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Maze Array")
TArray<FMazeRow> row;
FMazeArray(){}
};
If so this did not work. I still have
E:\Documents\Unreal Projects\MazeGame\Intermediate\Build\Win64\Inc\MazeGame\MazeGame.generated.cpp(11): error C2653: 'FMazeRow' : is not a class or namespace name
as the first of many errors. Would it help to post the rest of the class, even though it is almost entirely generated code? Or maybe to post the whole error list?