- 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.
推薦閱讀
- 高手是如何做產品設計的(全2冊)
- 數據結構和算法基礎(Java語言實現)
- Bootstrap 4:Responsive Web Design
- 人人都懂設計模式:從生活中領悟設計模式(Python實現)
- Yii Project Blueprints
- OpenCV with Python By Example
- C++從入門到精通(第6版)
- 零基礎學C語言(第4版)
- Python Machine Learning Cookbook
- Mastering ASP.NET Core 2.0
- Building Clouds with Windows Azure Pack
- Python面向對象編程(第4版)
- Java面試一戰到底(基礎卷)
- 軟技能2:軟件開發者職業生涯指南
- ASP.NET jQuery Cookbook(Second Edition)