Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/UEditorAssetSubsystem
Description
Return a valid AssetPath for a loaded asset. Similar to GetPathName(). The format will be: /Game/MyFolder/MyAsset.MyAsset
| Name | GetPathNameForLoadedAsset |
| Type | function |
| Header File | /Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorAssetSubsystem.h |
| Include Path | #include "Subsystems/EditorAssetSubsystem.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Subsystems/EditorAssetSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="Editor Scripting | Asset")
FString GetPathNameForLoadedAsset
(
UObject * LoadedAsset
)
If valid, the asset Path of the loaded asset.
Parameters
| Name | Remarks |
|---|---|
| LoadedAsset | The loaded asset to get the path of. |