Navigation
API > API/Plugins > API/Plugins/ConsoleVariablesEditorRuntime > API/Plugins/ConsoleVariablesEditorRuntime/UConsoleVariablesAsset
Description
Returns the saved list of console variables as a concatenated comma-separated string. Useful for passing commands and variables to a command line.
| Name | GetSavedCommandsAsCommaSeparatedString |
| Type | function |
| Header File | /Engine/Plugins/Editor/ConsoleVariablesEditor/Source/ConsoleVariablesEditorRuntime/Public/ConsoleVariablesAsset.h |
| Include Path | #include "ConsoleVariablesAsset.h" |
| Source | /Engine/Plugins/Editor/ConsoleVariablesEditor/Source/ConsoleVariablesEditorRuntime/Private/ConsoleVariablesAsset.cpp |
UFUNCTION (BlueprintPure, Category="Console Variables Asset")
FString GetSavedCommandsAsCommaSeparatedString
(
bool bOnlyIncludeChecked
) const
Parameters
| Name | Remarks |
|---|---|
| bOnlyIncludeChecked | If true, only commands and variables with a Checked checkstate in the Console Variables Editor UI will be included. Otherwise, all will be included. |