#include <LPP_ByTransform.h>
지정된 위치(Location)와 회전(Rotation)으로 플레이어를 배치합니다. SpawnLocation / SpawnRotation 을 설정한 뒤 PlacePlayer()를 호출하세요.
◆ PlacePlayer()
| void ULPP_ByTransform::PlacePlayer |
( |
UWorld * |
InWorld | ) |
|
|
overridevirtual |
8{
9 if (InWorld == nullptr)
10 {
11 return;
12 }
13
14 APlayerController* PC = InWorld->GetFirstPlayerController();
15
16 if (PC == nullptr)
17 {
18 return;
19 }
20
21 APawn* Pawn = PC->GetPawn();
22
23 if (Pawn == nullptr)
24 {
25 return;
26 }
27
29}
◆ SpawnLocation
| FVector ULPP_ByTransform::SpawnLocation = FVector::ZeroVector |
◆ SpawnRotation
| FRotator ULPP_ByTransform::SpawnRotation = FRotator::ZeroRotator |
이 클래스에 대한 문서화 페이지는 다음의 파일들로부터 생성되었습니다.: