Files
lonese/Source/lonese/MyPlayerController.cpp
2026-03-14 17:44:20 +08:00

15 lines
281 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#include "MyPlayerController.h"
APawn* AMyPlayerController::GetOwnedPawn()
{
return GetPawn();
}
void AMyPlayerController::BeginPlay()
{
//GetPawn()->SetActorLocation(FVector(0.f, 0.f, 300.f));
}