Fix loading game assets in cooked build via path relative to the project folder

This commit is contained in:
Wojtek Figat
2021-03-01 13:00:07 +01:00
parent 489e8ddc42
commit 21d96c6baf
4 changed files with 18 additions and 8 deletions

View File

@@ -104,7 +104,7 @@ public:
/// </summary>
/// <param name="path">Input path to check</param>
/// <returns>True if input path is relative one, otherwise false</returns>
static bool IsRelative(const String& path);
static bool IsRelative(const StringView& path);
/// <summary>
/// Retrieves file extension (without a dot)