Navigation
Unreal Engine C++ API Reference > Runtime > Core > Tasks > FTaskBase > AddPrerequisites
References
Module | Core |
Header | /Engine/Source/Runtime/Core/Public/Tasks/TaskPrivate.h |
Include | #include "Tasks/TaskPrivate.h" |
template<typename HigherLevelTaskType, decltype(std::declval< HigherLevelTaskType >().Pimpl)&42;>
bool AddPrerequisites
&40;
const HigherLevelTaskType & Prerequisite
&41;
Remarks
The task will be executed only when all prerequisites are completed. The task type must be a task handle that holds a pointer to FTaskBase as its `Pimpl_ member (see Tasks::TTaskBase). Must not be called concurrently