Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UAssetEditorSubsystem
Description
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.
| Name | OpenEditorForAssets |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/AssetEditorSubsystem.h |
| Include Path | #include "Subsystems/AssetEditorSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/AssetEditorSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Asset Tools")
bool OpenEditorForAssets
(
const TArray < UObject * > & Assets,
const EAssetTypeActivationOpenedMethod OpenedMethod
)