Jam-Teacher/Source/JamTeacher/WayPointComponent.h

35 lines
760 B
C
Raw Normal View History

2020-08-06 12:06:21 +00:00
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Components/SceneComponent.h"
#include "WayPointComponent.generated.h"
UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent), Blueprintable )
class JAMTEACHER_API UWayPointComponent : public USceneComponent
{
GENERATED_BODY()
public:
// Sets default values for this component's properties
UWayPointComponent();
UPROPERTY(EditAnywhere, BlueprintReadWrite)
int32 ID;
protected:
// Called when the game starts
virtual void BeginPlay() override;
public:
// Called every frame
virtual void TickComponent(float DeltaTime, ELevelTick TickType, FActorComponentTickFunction* ThisTickFunction) override;
};