UGameplayTask::InitTask

Initailizes the task with the task owner interface instance but does not actviate until [Activate()](API\Runtime\GameplayTasks\UGameplayTask\Activate) is called

Choose your operating system:

Windows

macOS

Linux

References

Module

GameplayTasks

Header

/Engine/Source/Runtime/GameplayTasks/Classes/GameplayTask.h

Include

#include "GameplayTask.h"

Source

/Engine/Source/Runtime/GameplayTasks/Private/GameplayTask.cpp

Syntax

void InitTask
(
    IGameplayTaskOwnerInterface & InTaskOwner,
    uint8 InPriority
)

Remarks

Initailizes the task with the task owner interface instance but does not actviate until Activate() is called