public static EscapeCharsQuote ( string input ) : string | ||
input | string | |
return | string |
public static string PrepareFileName(string input) { if (Application.platform == RuntimePlatform.OSXEditor) { return(CommandLineFormatter.EscapeCharsQuote(input)); } return(CommandLineFormatter.EscapeCharsWindows(input)); }
public static string PrepareFileName(string input) { input = FileUtil.ResolveSymlinks(input); string result; if (Application.platform == RuntimePlatform.WindowsEditor) { result = CommandLineFormatter.EscapeCharsWindows(input); } else { result = CommandLineFormatter.EscapeCharsQuote(input); } return(result); }