Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/EditorModeManager.h |
Include |
#include "EditorModeManager.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorModeManager.cpp |
bool EnsureNotInMode
(
FEditorModeID ModeID,
const FText & ErrorMsg,
bool bNotifyUser
) const
Returns true if the current mode is not the specified ModeID. Also optionally warns the user.
true if the current mode is not the specified mode.
Parameter |
Description |
---|---|
ModeID |
The editor mode to query. |
ErrorMsg |
If specified, inform the user the reason why this is a problem |
bNotifyUser |
If true, display the error as a notification, instead of a dialog |