In time, you'll become familiar with the standard code, so you will be able to just create new classes from Visual Studio without using the Unreal wizard.
In MyFirstActor.h, we have the following aspects:
- #pragma once: This preprocessor statement, or pragma, is Unreal's expected method of implementing include guards pieces of code that prevent an include file from causing errors by being referenced multiple times.
- #include "CoreMinimal.h": This file includes a number of definitions of classes that are often used, such as FString, TArray, Vector, and so on, and is included by default in created script files for that reason, though it could still compile at this point without it.
- #include "GameFramework/Actor.h": We're going ...