18 virtual void BeginPlay()
override;
20 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
21 TObjectPtr<class USceneComponent> RootComp;
23 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
24 TObjectPtr<class UBoxComponent> BoxComp;
26 UPROPERTY(VisibleAnywhere, BlueprintReadOnly)
27 TObjectPtr<class UStaticMeshComponent> CubeMesh;
30 void OnBoxBeginOverlap(
31 UPrimitiveComponent* OverlappedComp,
33 UPrimitiveComponent* OtherComp,
36 const FHitResult& SweepResult
39 FVector LuggageRespawnPoint;
40 FVector FoodRespawnPoint;