AssetPackager.ScriptsHandler.ReplaceExtension C# (CSharp) Method

ReplaceExtension() private static method

private static ReplaceExtension ( string path ) : string
path string
return string
		private static string ReplaceExtension(string path)
		{
			int extensionIndex = path.LastIndexOf('.');
			string extension = path.Substring(extensionIndex);
			return (path.Substring(0, extensionIndex) + ".debug" + extension);
		}
	}