Click or drag to resize

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
C#
public static string GetVirtualPathByReal(
	string realPath,
	bool returnAssetsOnly = false
)

Parameters

realPath
Type: SystemString
The real file path.
returnAssetsOnly (Optional)
Type: SystemBoolean

Return Value

Type: String
The virtual file path.
See Also