Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/AAIController
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/AIController.h |
| Include | #include "AIController.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/AIController.cpp |
bool UseBlackboard
&40;
UBlackboardData &42; BlackboardAsset,
UBlackboardComponent &42;& BlackboardComponent
&41;
Remarks
Makes AI use the specified Blackboard asset & creates a Blackboard Component if one does not already exist. true if we successfully linked the blackboard asset to the blackboard component.
Parameters
| Name | Description |
|---|---|
| BlackboardAsset | The Blackboard asset to use. |
| BlackboardComponent | The Blackboard component that was used or created to work with the passed-in Blackboard Asset. |