I assume you need to add the UCLASS() macro above the definition of the Display class, or you need to remove the UFUNCTION(…) macro from its GetDisplayResolution() function.
UCLASS()
class CARZ_API Display
{
GENERATED_BODY()
...
};
I assume you need to add the UCLASS() macro above the definition of the Display class, or you need to remove the UFUNCTION(…) macro from its GetDisplayResolution() function.
UCLASS()
class CARZ_API Display
{
GENERATED_BODY()
...
};