26 lines
515 B
C++
26 lines
515 B
C++
// Oleg Petruny proprietary.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Engine/GameInstance.h"
|
|
#include "InputMappingContext.h"
|
|
|
|
#include "CustomGameInstanceBase.generated.h"
|
|
|
|
UCLASS()
|
|
class UCustomGameInstanceBase : public UGameInstance
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
virtual void Init() override;
|
|
|
|
UFUNCTION(BlueprintCallable, Category = Settings)
|
|
void ApplyMouseSettings();
|
|
|
|
protected:
|
|
UPROPERTY(EditDefaultsOnly)
|
|
TArray<TSoftObjectPtr<UInputMappingContext>> defaultInputContexts;
|
|
};
|