AssetPackager.ScriptsHandler.GetDebugPath C# (CSharp) Method

GetDebugPath() private static method

private static GetDebugPath ( string releasePath ) : string
releasePath string
return string
		private static string GetDebugPath(string releasePath)
		{
			string path, query;
			if (releasePath.IndexOf('?') >= 0)
			{
				int index = releasePath.IndexOf('?');
				path = releasePath.Substring(0, index);
				query = releasePath.Substring(index);
			}
			else
			{
				path = releasePath;
				query = String.Empty;
			}

			return ReplaceExtension(path) + query;
		}