Click or drag to resize

VirtualPathUtilityGetVirtualPathByReal(String, Boolean) Method

Converts a file path of real file system to path of virtual file system.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static string GetVirtualPathByReal(
	string realPath,
	bool returnAssetsOnly = false
)

Parameters

realPath  String
The real file path.
returnAssetsOnly  Boolean  (Optional)
 

Return Value

String
The virtual file path.
See Also