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 "Pickup.h"
- #include "BatteryPickup.generated.h"
- /**
- *
- */
- UCLASS()
- class TUTORIALCODE_API ABatteryPickup : public APickup
- {
- GENERATED_BODY()
- public:
- // Sets battery power given when picked up by player
- UPROPERTY(Editanywhere, BlueprintReadWrite, Category = Power)
- float PowerLevel;
- // Overrides the PickedUp Function. Uses Implementation as it's a Blueprint Native Event
- void OnPickedUp_Implementation() OVERRIDE;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement