Unreal — open editor utility widget by C++
May 9, 2021
You can open any Editor utility widget simply by calling:
The path to the widget is given by FString provided to LoadAsset function. You can find the path by right-clicking any asset and choosing “Copy reference”.
Don’t forget to include the following modules to your PrivateDependencyModuleNames in MyModule.Build.cs
- Blutility
- UMGEditor
- EditorScriptingUtilities