UAssetEditorSubsystem::OpenEditorForAssets

Tries to open an editor for all of the specified assets.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/Subsystems/AssetEditorSubsystem.h

Include

#include "Subsystems/AssetEditorSubsystem.h"

Source

/Engine/Source/Editor/UnrealEd/Private/Subsystems/AssetEditorSubsystem.cpp

Syntax

bool OpenEditorForAssets
(
    const TArray< UObject * > & Assets
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss