Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/GameplayTasks/Classes/GameplayTask.h |
Include |
#include "GameplayTask.h" |
Source |
/Engine/Source/Runtime/GameplayTasks/Private/GameplayTask.cpp |
AActor * GetAvatarActor() const
Proper way to get the avatar actor associated with the task owner (usually a pawn, tower, etc)