Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/EditorModeRegistry.h |
Include |
#include "EditorModeRegistry.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/EditorModeRegistry.cpp |
static FEditorModeRegistry & Get()
Singleton access
Class responsible for maintaining a list of registered editor mode types.
Example usage:
Register your mode type with: FEditorModeRegistry::Get().RegisterMode
Unregister your mode when it is no longer available like so (this will prompt the destruction of any existing modes of this type): /**