feat: 增加移动中

This commit is contained in:
meishibiezb
2026-03-14 17:44:20 +08:00
parent bbf549425b
commit 75883d9fb7
6 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
// 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:
};