Deprecated
Use the matching function on AssetEditorSubsystem instead.
Module |
|
Header |
/Engine/Source/Editor/UnrealEd/Public/Toolkits/AssetEditorManager.h |
Include |
#include "Toolkits/AssetEditorManager.h" |
Source |
/Engine/Source/Editor/UnrealEd/Private/Toolkits/AssetEditorManager.cpp |
bool OpenEditorForAsset
(
UObject * Asset,
const EToolkitMode::Type ToolkitMode,
TSharedPtr< IToolkitHost > OpenedFromLevelEditor,
const bool bShowProgressWindow
)
Tries to open an editor for the specified asset. Returns true if the asset is open in an editor. If the file is already open in an editor, it will not create another editor window but instead bring it to front