| 92 | } |
| 93 | |
| 94 | StringView JsonAssetBase::GetPath() const |
| 95 | { |
| 96 | #if USE_EDITOR |
| 97 | return _path; |
| 98 | #else |
| 99 | // In build all assets are packed into packages so use ID for original path lookup |
| 100 | return Content::GetRegistry()->GetEditorAssetPath(_id); |
| 101 | #endif |
| 102 | } |
| 103 | |
| 104 | uint64 JsonAssetBase::GetMemoryUsage() const |
| 105 | { |
no test coverage detected