Initial UE commit
This commit is contained in:
32
Source/TutoBegginer/Game/LevelManager.h
Normal file
32
Source/TutoBegginer/Game/LevelManager.h
Normal file
@ -0,0 +1,32 @@
|
||||
// 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;
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user