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

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.
主站蜘蛛池模板: 沙雅县| 奉新县| 肇庆市| 铅山县| 忻州市| 平乡县| 息烽县| 高邑县| 普洱| 云安县| 大姚县| 遂平县| 苏尼特右旗| 邵武市| 嘉峪关市| 九龙县| 阳曲县| 宜川县| 凤庆县| 光山县| 景谷| 芒康县| 长海县| 弋阳县| 龙江县| 唐海县| 屯昌县| 思茅市| 密云县| 临猗县| 安丘市| 郸城县| 安阳市| 平阴县| 伊宁市| 德安县| 南通市| 探索| 洱源县| 二手房| 长沙县|