官术网_书友最值得收藏!

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.
主站蜘蛛池模板: 兴海县| 东乡族自治县| 屯留县| 贵溪市| 大庆市| 海兴县| 普安县| 华安县| 汉阴县| 黄山市| 玉环县| 徐州市| 屏东县| 江永县| 辽阳县| 永兴县| 西盟| 泸溪县| 民县| 共和县| 和平区| 枣庄市| 澄迈县| 大渡口区| 定南县| 凤翔县| 建平县| 泰兴市| 锡林浩特市| 阿合奇县| 呼和浩特市| 无为县| 太和县| 西青区| 永善县| 仁寿县| 开平市| 漳浦县| 县级市| 江永县| 嘉荫县|