Obstacles / new thumbs / fixes

This commit is contained in:
2023-08-29 22:24:54 +02:00
parent 484cc0710c
commit 283e7e2605
131 changed files with 7 additions and 3 deletions

View File

@@ -8,8 +8,9 @@ ALevelTemplate::ALevelTemplate()
{
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
RootComponent = CreateDefaultSubobject<USceneComponent>(TEXT("Root"));
Template = CreateDefaultSubobject<UPaperTileMapComponent>(TEXT("TemplateTilemap"));
Template->SetupAttachment(RootComponent);
}
// Called when the game starts or when spawned

View File

@@ -5,6 +5,7 @@
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "PaperTileMapComponent.h"
#include "Components/SceneComponent.h"
#include "LevelTemplate.generated.h"
UCLASS()