mirror of
https://github.com/Ed94/Cog.git
synced 2026-08-04 06:38:45 +00:00
Fixes for building as an engine plugin with latest merge
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
#include "CogHelper.h"
|
#include "CogHelper.h"
|
||||||
#include "CogImguiContext.h"
|
#include "CogImguiContext.h"
|
||||||
#include "CogWindow_Settings.h"
|
#include "CogWindow_Settings.h"
|
||||||
|
#include "Components/InputComponent.h"
|
||||||
|
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
#include "Subsystems/WorldSubsystem.h"
|
#include "Subsystems/WorldSubsystem.h"
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ class APlayerController;
|
|||||||
class UCogSubsystem;
|
class UCogSubsystem;
|
||||||
class ULocalPlayer;
|
class ULocalPlayer;
|
||||||
class UWorld;
|
class UWorld;
|
||||||
|
class UInputComponent;
|
||||||
|
|
||||||
class COG_API FCogWindow
|
class COG_API FCogWindow
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
#include "CoreMinimal.h"
|
#include "CoreMinimal.h"
|
||||||
#include "CogCommonConfig.h"
|
#include "CogCommonConfig.h"
|
||||||
#include "CogWindow.h"
|
#include "CogWindow.h"
|
||||||
|
#include "Framework/Commands/InputChord.h"
|
||||||
#include "CogWindow_Settings.generated.h"
|
#include "CogWindow_Settings.generated.h"
|
||||||
|
|
||||||
class UCogEngineConfig_Settings;
|
class UCogEngineConfig_Settings;
|
||||||
|
|||||||
+2
-2
@@ -19,9 +19,9 @@ public:
|
|||||||
|
|
||||||
virtual bool GetColor(const FCogWindow& InCallingWindow, FLinearColor& OutColor) const override;
|
virtual bool GetColor(const FCogWindow& InCallingWindow, FLinearColor& OutColor) const override;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(EditAnywhere, Category="Cog")
|
||||||
TSubclassOf<UGameplayAbility> Ability;
|
TSubclassOf<UGameplayAbility> Ability;
|
||||||
|
|
||||||
UPROPERTY(EditAnywhere)
|
UPROPERTY(EditAnywhere, Category="Cog")
|
||||||
bool RemoveAbilityOnEnd = true;
|
bool RemoveAbilityOnEnd = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user