I added this line to the Code Vehicle Pawn class and got LNK2019 and LNK1120.
Tried FRuntimeFloatCurve and got the same results.
/** Turbo Engine **/
UPROPERTY(EditAnywhere, Category = Turbo)
FVehicleEngineData TurboEngineData;
Am I missing a module or something? It compiles and run fine without this line.
The hole class:
#pragma once
#include "ArcadeRacerCppPawn.generated.h"
UCLASS(config=Game)
class AArcadeRacerCppPawn : public AWheeledVehicle
{
GENERATED_UCLASS_BODY()
/** Spring arm that will offset the camera */
UPROPERTY(Category = Camera, VisibleDefaultsOnly, BlueprintReadOnly)
TSubobjectPtr<class USpringArmComponent> SpringArm;
/** Camera component that will be our viewpoint */
UPROPERTY(Category = Camera, VisibleDefaultsOnly, BlueprintReadOnly)
TSubobjectPtr<class UCameraComponent> Camera;
/** Turbo Engine **/
UPROPERTY(EditAnywhere, Category = Turbo)
FVehicleEngineData TurboEngineData;
// Begin Pawn interface
virtual void SetupPlayerInputComponent(class UInputComponent* InputComponent) OVERRIDE;
// End Pawn interface
/** Handle pressing forwards */
void MoveForward(float Val);
/** Handle pressing right */
void MoveRight(float Val);
/** Handle handbrake pressed */
void OnHandbrakePressed();
/** Handle handbrake released */
void OnHandbrakeReleased();
};