Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fill out your copyright notice in the Description page of Project Settings.
- #pragma once
- #include "CoreMinimal.h"
- #include "Items/Item.h"
- #include "Treasure.generated.h"
- UCLASS()
- class SLASH_API ATreasure : public AItem
- {
- GENERATED_BODY()
- protected:
- virtual void OnSphereOverlap(UPrimitiveComponent* OverlappedComponent, AActor* OtherActor, UPrimitiveComponent* OtherComp, int32 OtherBodyIndex, bool bFromSweep, const FHitResult& SweepResult) override;
- private:
- UPROPERTY(EditAnywhere, Category = Sounds)
- USoundBase* PickupSound;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement