Optimize Asset::GetPath in cooked build
This commit is contained in:
@@ -127,7 +127,7 @@ public:
|
||||
/// <summary>
|
||||
/// Gets the path to the asset storage file. In Editor, it reflects the actual file, in cooked Game, it fakes the Editor path to be informative for developers.
|
||||
/// </summary>
|
||||
API_PROPERTY() virtual const String& GetPath() const = 0;
|
||||
API_PROPERTY() virtual StringView GetPath() const = 0;
|
||||
|
||||
/// <summary>
|
||||
/// Gets the asset type name.
|
||||
|
||||
Reference in New Issue
Block a user