32 lines
		
	
	
		
			750 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			750 B
		
	
	
	
		
			C++
		
	
	
		
			Executable File
		
	
	
	
	
// Fill out your copyright notice in the Description page of Project Settings.
 | 
						|
 | 
						|
#pragma once
 | 
						|
 | 
						|
#include "CoreMinimal.h"
 | 
						|
#include "GameFramework/Actor.h"
 | 
						|
#include "Pickup.generated.h"
 | 
						|
 | 
						|
class UBoxComponent;
 | 
						|
 | 
						|
UCLASS()
 | 
						|
class PRESIDENTSBRIGADE_API APickup : public AActor
 | 
						|
{
 | 
						|
	GENERATED_BODY()
 | 
						|
	
 | 
						|
public:	
 | 
						|
	// Sets default values for this actor's properties
 | 
						|
	APickup(const FObjectInitializer &object_initializer);
 | 
						|
 | 
						|
	// Called every frame
 | 
						|
	virtual void Tick(float DeltaTime) override;
 | 
						|
protected:
 | 
						|
	// Called when the game starts or when spawned
 | 
						|
	virtual void BeginPlay() override;
 | 
						|
 | 
						|
	UPROPERTY(EditAnywhere, Category="Pickup")
 | 
						|
	UBoxComponent* collision;
 | 
						|
 | 
						|
	UPROPERTY(EditAnywhere, Category="Pickup")
 | 
						|
	UStaticMeshComponent* mesh;
 | 
						|
};
 |