i'mI'm following a tutorial on Udemythis tutorial on Udemy about learning the basics of Unreal Engine as I start up my csCS degree (https://www.udemy.com/learn-to-code-by-building-5-games-in-the-unreal-engine/learn/v4/questions/4103238), and I've reached a problem where CoreMinimal.hCoreMinimal.h
cannot be found.
A solution offeredThis solution was proposed in the article https://answers.unrealengine.com/questions/617467/alternative-to-including-engineh.htmlQ&A community, however I still could not quite understand it! I'm still learning and would love some help ;)
hereHere is my code!
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h" #include "GameFramework/Pawn.h" #include "ShipController.generated.h"
UCLASS() class SPACESHOOTER_API AShipController : public APawn { GENERATED_BODY()
public: // Sets default values for this pawn's properties AShipController();
protected: // Called when the game starts or when spawned virtual void BeginPlay() override;
public: // Called every frame virtual void Tick(float DeltaTime) override;
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Pawn.h"
#include "ShipController.generated.h"
UCLASS()
class SPACESHOOTER_API AShipController : public APawn
{
GENERATED_BODY()
public:
// Sets default values for this pawn's properties
AShipController();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
// Called to bind functionality to input
virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override;
};
};