Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Tasks > API/Runtime/Core/Tasks/FTaskBase > API/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, std::enable_if_t< std::is_same_v< HigherLevelTaskType, FGraphEventRef > > *>
bool AddPrerequisites
(
const HigherLevelTaskType & Prerequisite
)
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 Must not be called concurrently