Hands-On Artificial Intelligence with Unreal Engine
上QQ阅读APP看书,第一时间看更新

Creating the Blackboard

Now, we need to add a Blackboard, which should always be within the AI folder. To do this, go to the Content Browser and select Add New > Artificial Intelligence > Blackboard.

For now, we will call our Blackboard BB_MyFirstBlackboard. Here, I'm using the naming convention to prefix all Blackboards with BB_. Unless you have a specific reason to not follow this naming convention, please use it. By doing this, you will be in sync with the rest of this book.

Since it is not possible to have multiple Blackboards on the same Behavior Tree, you can use inheritance with Parent and Child within the Blackboard Details panel, as shown in the following screenshot on the right):