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

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.
主站蜘蛛池模板: 新源县| 壤塘县| 亳州市| 呼玛县| 临邑县| 大兴区| 微山县| 浑源县| 体育| 德庆县| 沙湾县| 九龙县| 潞城市| 南通市| 通山县| 浦城县| 赤壁市| 深圳市| 三亚市| 镇巴县| 玛纳斯县| 木兰县| 四平市| 涿鹿县| 华亭县| 英吉沙县| 平和县| 洛隆县| 正蓝旗| 乌什县| 蓬安县| 白水县| 淮北市| 峨眉山市| 台东县| 鄄城县| 台前县| 黄龙县| 阳东县| 焦作市| 安丘市|