How can you include few headerfiles in the video?

Hello
how you can include few headerfiles
In TankAIcontroller you inclde two headerfiles
#include “AIController.h”
#include “TankAIController.generated.h”

but I hade to included all these files to make it work

#include “CoreMinimal.h”
#include “AIController.h”
#include “TankAimingComponent.h”
#include “GameFramework/Controller.h”
#include “Engine/World.h”
#include “GameFramework/Actor.h”
#include “GameFramework/PlayerController.h”
#include “TankAIController.generated.h”

Because the original course was using a version of Unreal that included everything

Privacy & Terms