VirtualPathUtilityGetVirtualPathByReal Method (String, Boolean) |
Converts a file path of real file system to path of virtual file system.
Namespace:
NeoAxis
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static string GetVirtualPathByReal(
string realPath,
bool returnAssetsOnly = false
)
Parameters
- realPath
- Type: SystemString
The real file path. - returnAssetsOnly (Optional)
- Type: SystemBoolean
Return Value
Type:
StringThe virtual file path.
See Also