- Hands-On Artificial Intelligence with Unreal Engine
- Francesco Sapio
- 187字
- 2021-06-24 15:23:12
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text. Here is an example: "The next event to implement is OnBecomRelevant(), and it is only fired when the Service becomes relevant"
A block of code is set as follows:
void AMyFirstAIController::OnPossess(APawn* InPawn)
{
Super::OnPossess(InPawn);
AUnrealAIBookCharacter* Character = Cast<AUnrealAIBookCharacter>(InPawn);
if (Character != nullptr)
{
UBehaviorTree* BehaviorTree = Character->BehaviorTree;
if (BehaviorTree != nullptr) {
RunBehaviorTree(BehaviorTree);
}
}
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
void AMyFirstAIController::OnPossess(APawn* InPawn)
{
Super::OnPossess(InPawn);
AUnrealAIBookCharacter* Character = Cast<AUnrealAIBookCharacter>(InPawn);
if (Character != nullptr)
{
UBehaviorTree* BehaviorTree = Character->BehaviorTree;
if (BehaviorTree != nullptr) {
RunBehaviorTree(BehaviorTree);
}
}
}
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select BT_MyFirstBehaviorTree from the drop-down menu within the Behavior Tree variable."
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- Functional Python Programming
- 深入理解Android(卷I)
- 大學計算機基礎實驗教程
- 算法零基礎一本通(Python版)
- 架構不再難(全5冊)
- Software Testing using Visual Studio 2012
- Web開發的貴族:ASP.NET 3.5+SQL Server 2008
- Ray分布式機器學習:利用Ray進行大模型的數據處理、訓練、推理和部署
- Learn WebAssembly
- Kali Linux Wireless Penetration Testing Beginner's Guide(Third Edition)
- C++面向對象程序設計習題解答與上機指導(第三版)
- Java EE 8 Application Development
- Unity 2017 Mobile Game Development
- Modern C++ Programming Cookbook
- Getting Started with Python