UGameplayTask::GetOwnerActor

Proper way to get the owning actor of task owner.

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

AActor * GetOwnerActor() const

Remarks

Proper way to get the owning actor of task owner. This can be the owner itself since the owner is given as a interface