mystic-flow/Source/Shooter/ShooterGameInstance.h

28 lines
666 B
C++

// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "Engine/GameInstance.h"
#include "ShooterGameInstance.generated.h"
/**
*
*/
UCLASS()
class SHOOTER_API UShooterGameInstance : public UGameInstance
{
GENERATED_BODY()
public:
UShooterGameInstance() : LevelStartSeqAlreadyPlayed(false)
{
}
private:
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Cutscene, meta = (AllowPrivateAccess = "true"))
bool LevelStartSeqAlreadyPlayed;
public:
FORCEINLINE void SetLevelStartSeqAlreadyPlayed(bool NewValue) { LevelStartSeqAlreadyPlayed = NewValue; }
};