// All rights reserved. #pragma once #include "CoreMinimal.h" #include "Components/SceneComponent.h" #include "CrateComponent.generated.h" UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) ) class FIREWORKDUELS_API UCrateComponent : public USceneComponent { GENERATED_BODY() public: // Sets default values for this component's properties UCrateComponent(); protected: // Called when the game starts virtual void BeginPlay() override; public: // Called every frame virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override; };