Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorInteractiveToolsContext
Description
Configure whether tools should shutdown when entering PIE. By default, the context will shut down any active tools on PIE start. Setting this to true will prevent this, but the system makes no promises about whether tools work properly across PIE start/run/shutdown. Therefore, do not use this if you do not know for certain that it is safe to persist tools across PIE start in your situation.
| Name | SetDeactivateToolsOnPIEStart |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Tools/EdModeInteractiveToolsContext.h |
| Include Path | #include "Tools/EdModeInteractiveToolsContext.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Tools/EdModeInteractiveToolsContext.cpp |
void SetDeactivateToolsOnPIEStart
(
bool bDeactivateTools
)