Files
lonese/Source/lonese/MyPlayerController.h
2026-03-14 23:59:25 +08:00

26 lines
435 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/PlayerController.h"
#include "MyPlayerController.generated.h"
/**
*
*/
UCLASS()
class LONESE_API AMyPlayerController : public APlayerController
{
GENERATED_BODY()
public:
UFUNCTION(BlueprintCallable)
APawn* GetOwnedPawn();
protected:
virtual void BeginPlay() override;
private:
};