KLingo Project Documentation 1.0.0
Unreal Engine 5.6 C++ Project Documentation
로딩중...
검색중...
일치하는것 없음
OutBoxTeleportTrigger.h
이 파일의 문서화 페이지로 가기
1// Copyright (c) 2025 Doppleddiggong. All rights reserved. Unauthorized copying, modification, or distribution of this file, via any medium is strictly prohibited. Proprietary and confidential.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "GameFramework/Actor.h"
7#include "OutBoxTeleportTrigger.generated.h"
8
9UCLASS()
10class ONEPIECE_API AOutBoxTeleportTrigger : public AActor
11{
12 GENERATED_BODY()
13
14public:
16
17protected:
18 virtual void BeginPlay() override;
19
20 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
21 TObjectPtr<class USceneComponent> RootComp;
22
23 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
24 TObjectPtr<class UBoxComponent> BoxComp;
25
26 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
27 TObjectPtr<class UStaticMeshComponent> CubeMesh;
28
29 UFUNCTION()
30 void OnBoxBeginOverlap(
31 UPrimitiveComponent* OverlappedComp,
32 AActor* OtherActor,
33 UPrimitiveComponent* OtherComp,
34 int32 OtherBodyIndex,
35 bool bFromSweep,
36 const FHitResult& SweepResult
37 );
38
39 FVector LuggageRespawnPoint;
40 FVector FoodRespawnPoint;
41};