internal static string GetAssemblyDefinitionFilePathFromAssemblyName(EditorCompilation editorCompilation, string assemblyName) { try { var customScriptAssembly = editorCompilation.FindCustomScriptAssemblyFromAssemblyName(assemblyName); return(customScriptAssembly.FilePath); } catch (Exception) { return(null); } }
internal static string GetAssemblyDefinitionFilePathFromAssemblyName(EditorCompilation editorCompilation, string assemblyName) { string result; try { CustomScriptAssembly customScriptAssembly = editorCompilation.FindCustomScriptAssemblyFromAssemblyName(assemblyName); result = customScriptAssembly.FilePath; } catch (Exception) { result = null; } return(result); }