mirror of
https://github.com/Ed94/Cog.git
synced 2026-07-27 01:40:03 +00:00
CogWindow: CogWindows are not UObject anymore
CogWindows are now normal object because we want to be able to Ifdef them, and UObject cannot be ifdef. CogWindows were UObject mainly for saving their config. The configs have been moved in separated class, which are UObject.
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
#include "CogSampleGameState.generated.h"
|
||||
|
||||
class UCogWindowManager;
|
||||
class UCogEngineWindow_Selection;
|
||||
class UCogSampleAbilitySystemComponent;
|
||||
|
||||
UCLASS()
|
||||
@@ -41,12 +40,7 @@ private:
|
||||
|
||||
void InitializeCog();
|
||||
|
||||
void RegisterCommands();
|
||||
|
||||
void UnregisterCommands();
|
||||
|
||||
TObjectPtr<UCogWindowManager> CogWindowManager = nullptr;
|
||||
TObjectPtr<UCogEngineWindow_Selection> SelectionWindow = nullptr;
|
||||
|
||||
#endif //ENABLE_COG
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user