Fix asset paths lookup in build

This commit is contained in:
Wojtek Figat
2021-05-14 10:33:08 +02:00
parent c95e5b0611
commit fdf6306060
4 changed files with 21 additions and 12 deletions

View File

@@ -129,11 +129,11 @@ public:
public:
/// <summary>
/// Finds the asset path by id.
/// 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>
const String& GetAssetPath(const Guid& id) const;
const String& GetEditorAssetPath(const Guid& id) const;
/// <summary>
/// Finds the asset info by path.