i’m writing a plugin,
i want load the ini file to my TArray ButtonNameList
this’s my ToolbarSetting.ini:
i’m writing a plugin,
i want load the ini file to my TArray ButtonNameList
this’s my ToolbarSetting.ini:
You can try this How to store variables to a custom .ini file? - Editor Scripting - Unreal Engine Forums
I‘m trying
this’s my code:
FString ConfigFilePath = IPluginManager::Get().FindPlugin("AresExpand")->GetBaseDir() / TEXT("Config") / TEXT("ToolbarSetting.ini");
GConfig->GetArray(TEXT("ToolbarButtonList"), TEXT("ButtonNameList"), g_ButtonNameList, ConfigFilePath);
it work. thank you.