Skip to content

Instantly share code, notes, and snippets.

@ClassyCircuit
Created February 8, 2019 20:49
Show Gist options
  • Save ClassyCircuit/33b48619880b313eeca49cf59aae24e0 to your computer and use it in GitHub Desktop.
Save ClassyCircuit/33b48619880b313eeca49cf59aae24e0 to your computer and use it in GitHub Desktop.
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "FPSObjectiveActor.generated.h"
class USphereComponent;
class UStaticMeshComponent;
UCLASS()
class FPSGAME_API AFPSObjectiveActor : public AActor
{
GENERATED_BODY()
public:
// Sets default values for this actor's properties
AFPSObjectiveActor();
protected:
// Called when the game starts or when spawned
virtual void BeginPlay() override;
// visual representation of the object
UPROPERTY(VisibleAnywhere, Category="Components")
UStaticMeshComponent* MeshComp;
// used for collision
UPROPERTY(VisibleAnywhere, Category = "Components")
USphereComponent* SphereComp;
public:
// Called every frame
virtual void Tick(float DeltaTime) override;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment