Protptype of a wave based, first person shooter game made in Unreal Engine 4
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
MechDefence/Public/MGameplayActor.h

33 lines
760 B

#pragma once
#include "CoreMinimal.h"
#include "GameplayTagAssetInterface.h"
#include "GameFramework/Actor.h"
#include "MGameplayActor.generated.h"
UCLASS()
class MECHDEFENCE_API AMGameplayActor : public APawn, public IGameplayTagAssetInterface
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AMGameplayActor();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Gameplay")
FGameplayTagContainer ActorTags;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
virtual void GetOwnedGameplayTags(FGameplayTagContainer& TagContainer) const override;
};