Navigation
API > API/Developer > API/Developer/ToolMenus
Creates a new instance of UToolMenus and sets the UToolMenus singleton to point at this new instance. When the scope instance is destructed, the previous UToolMenus singleton is reinstated.
| Name | FToolMenuTestInstanceScoped |
| Type | class |
| Header File | /Engine/Source/Developer/ToolMenus/Public/ToolMenus.h |
| Include Path | #include "ToolMenus.h" |
Syntax
class FToolMenuTestInstanceScoped
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FToolMenuTestInstanceScoped() |
ToolMenus.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FToolMenuTestInstanceScoped() |
ToolMenus.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PreviousInstance | UToolMenus * | ToolMenus.h | ||
| ScopedInstance | UToolMenus * | ToolMenus.h |