33 lines
612 B
C++
33 lines
612 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "GameFramework/Actor.h"
|
|
#include "LevelManager.generated.h"
|
|
|
|
class AActor;
|
|
|
|
UCLASS()
|
|
class TUTOBEGGINER_API ALevelManager : public AActor
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
|
|
UPROPERTY( EditAnywhere, BlueprintReadWrite )
|
|
AActor* Spline;
|
|
|
|
// Sets default values for this actor's properties
|
|
ALevelManager();
|
|
|
|
protected:
|
|
// Called when the game starts or when spawned
|
|
virtual void BeginPlay() override;
|
|
|
|
public:
|
|
// Called every frame
|
|
virtual void Tick(float DeltaTime) override;
|
|
|
|
};
|