Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UAssetEditorSubsystem
Description
Returns the primary editor if one is already open for the specified asset. If there is one open and bFocusIfOpen is true, that editor will be brought to the foreground and focused if possible.
| Name | FindEditorForAsset |
| 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 |
IAssetEditorInstance * FindEditorForAsset
(
UObject * Asset,
bool bFocusIfOpen
)