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 OpenEditorForAssets
(
const TArray< UObject * > & Assets,
const EToolkitMode::Type ToolkitMode,
TSharedPtr< IToolkitHost > OpenedFromLevelEditor
)
Tries to open an editor for all of the specified assets. If any of the assets are already open, it will not create a new editor for them. If all assets are of the same type, the supporting AssetTypeAction (if it exists) is responsible for the details of how to handle opening multiple assets at once.