Add Content.GetEditorAssetPath
This commit is contained in:
@@ -70,6 +70,13 @@ public:
|
||||
/// <returns>True if found any asset, otherwise false.</returns>
|
||||
API_FUNCTION() static bool GetAssetInfo(const StringView& path, API_PARAM(Out) AssetInfo& info);
|
||||
|
||||
/// <summary>
|
||||
/// Finds the asset path by id. In editor it returns the actual asset path, at runtime it returns the mapped asset path.
|
||||
/// </summary>
|
||||
/// <param name="id">The asset id.</param>
|
||||
/// <returns>The asset path, or empty if failed to find.</returns>
|
||||
API_FUNCTION() static String GetEditorAssetPath(const Guid& id);
|
||||
|
||||
/// <summary>
|
||||
/// Finds all the asset IDs. Uses asset registry.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user