Hello community,
I’m trying to package a plugin I’m making to handle themes in unreal engine. The problem it is giving me is this:
… error C2039: ‘GetUserThemeDir’: is not a member of ‘USlateThemeManager’
C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\SlateCore\Public\Styling\StyleColors.h(145): note: see declaration of ‘USlateThemeManager’
in my main .cpp file I have this in the header: include “Styling/StyleColors.h”
And this is my code that I am using:
FString ThemeDirectory = USlateThemeManager::Get().GetUserThemeDir();
I hope you can help me, thank you very much!!