29 lines
612 B
C
29 lines
612 B
C
|
|
// Copyright Sam Bonifacio. All Rights Reserved.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "CoreMinimal.h"
|
||
|
|
|
||
|
|
#include "Tickable.h"
|
||
|
|
#include "Subsystems/GameInstanceSubsystem.h"
|
||
|
|
#include "AutoSettingsInputSubsystem.generated.h"
|
||
|
|
|
||
|
|
/**
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
UCLASS()
|
||
|
|
class AUTOSETTINGSINPUT_API UAutoSettingsInputSubsystem : public UGameInstanceSubsystem, public FTickableGameObject
|
||
|
|
{
|
||
|
|
GENERATED_BODY()
|
||
|
|
|
||
|
|
protected:
|
||
|
|
// FTickableGameObject
|
||
|
|
void Tick(float DeltaTime) override;
|
||
|
|
|
||
|
|
// Don't tick CDO
|
||
|
|
bool IsTickable() const override { return !this->HasAnyFlags(RF_ClassDefaultObject); }
|
||
|
|
|
||
|
|
TStatId GetStatId() const override { return TStatId(); }
|
||
|
|
|
||
|
|
};
|