UEditorConfigSubsystem::EarlyAddSearchDirectory

Append a new config search directory to the given type early.

Unreal Engine C++ API Reference > Editor > EditorConfig > UEditorConfigSubsystem

References

   
Module EditorConfig
Header /Engine/Source/Editor/EditorConfig/Public/EditorConfigSubsystem.h
Include #include "EditorConfigSubsystem.h"
Source /Engine/Source/Editor/EditorConfig/Private/EditorConfigSubystem.cpp
static void EarlyAddSearchDirectory
(
    [ESearchDirectoryType](API\Editor\EditorConfig\UEditorConfigSubsystem\ESearchDirectoryType) Type,
    FStringView SearchDir
)

Remarks

Append a new config search directory to the given type early. Engine directories are searched first, then Project, then ProjectOverrides, then User.

Note: this function can only be called before the UEditorConfigSubsystem is initialized otherwise it will assert. This function is useful if there is a need to register a layer of config before any config read could happen.


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library