- 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.
推薦閱讀
- AutoCAD VBA參數(shù)化繪圖程序開發(fā)與實(shí)戰(zhàn)編碼
- 人人都懂設(shè)計模式:從生活中領(lǐng)悟設(shè)計模式(Python實(shí)現(xiàn))
- Tableau 10 Bootcamp
- Java Fundamentals
- Python機(jī)器學(xué)習(xí)之金融風(fēng)險管理
- Web App Testing Using Knockout.JS
- C陷阱與缺陷
- Learning Unreal Engine Game Development
- Drupal 8 Development Cookbook(Second Edition)
- Offer來了:Java面試核心知識點(diǎn)精講(框架篇)
- 前端架構(gòu)設(shè)計
- Docker on Windows
- C語言程序設(shè)計
- Learning C# by Developing Games with Unity 3D Beginner's Guide
- Getting Started with SQL Server 2014 Administration