/Engine/Source/Runtime/GameplayTasks/Classes/GameplayTask.h
Helper function for instantiating and initializing a new task
template<class T> static T * NewTask ( [UObject](API\Runtime\CoreUObject\UObject\UObject) * WorldContextObject, [FName](API\Runtime\Core\UObject\FName) InstanceName )