Files
Fortis/Source/FORTIS_Taktika/Public/LevelManager.h
T
2022-05-26 18:32:27 +05:00

30 lines
716 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "Kismet/GameplayStatics.h"
#include "Engine/LevelStreaming.h"
#include "LevelManager.generated.h"
UCLASS()
class FORTIS_TAKTIKA_API ALevelManager : public AActor
{
GENERATED_BODY()
public:
// 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;
UFUNCTION(BlueprintCallable, Category="Loading")
bool LoadLevel(FString LevelName, bool bVisible, bool bLoad);
};