Conventions used
There are a number of text conventions used throughout this book.
Code in text
: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: “Next, you will find some declarations, such as UCLASS()
, GENERATED_BODY()
, UPROPERTY()
, and UFUNCTION()
, that are used by UE and each has a precise function.”
A block of code is set as follows:
#include "US_GameState.h" AUS_GameMode::AUS_GameMode() { GameStateClass = AUS_GameState::StaticClass(); }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
#include "US_Character.h" #include "Components/SphereComponent.h"
Bold: Indicates a new term, an important word, or words that you see on screen. For instance, words in menus or dialog boxes appear in bold. Here is an example: “From the Games section, select the Blank template.”
Tips or important notes
Appear like this.