mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
11 lines
285 B
C++
11 lines
285 B
C++
#include "Controller.h"
|
|
|
|
#include "reboot.h"
|
|
|
|
AActor* AController::GetViewTarget()
|
|
{
|
|
static auto GetViewTargetFn = FindObject<UFunction>("/Script/Engine.Controller.GetViewTarget");
|
|
AActor* ViewTarget = nullptr;
|
|
this->ProcessEvent(GetViewTargetFn, &ViewTarget);
|
|
return ViewTarget;
|
|
} |