Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/HAL > API/Runtime/Core/HAL/FConsoleManager > API/Runtime/Core/HAL/FConsoleManager/UnregisterConsoleObject
- IConsoleManager::UnregisterConsoleObject()
- FConsoleManager::UnregisterConsoleObject()
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/HAL/ConsoleManager.h |
| Include | #include "HAL/ConsoleManager.h" |
| Source | /Engine/Source/Runtime/Core/Private/HAL/ConsoleManager.cpp |
virtual void UnregisterConsoleObject
&40;
const TCHAR &42; Name,
bool bKeepState
&41;
Remarks
Unregisters a console variable or command, if that object was registered. For console variables, this will actually only "deactivate" the variable so if it becomes registered again the state may persist (unless bKeepState is false).
Parameters
| Name | Description |
|---|---|
| Name | Name of the console object to remove (not case sensitive) |
| bKeepState | if the current state is kept in memory until a cvar with the same name is registered |