string GetBooCompilerDirectory() { if (EditorApplication.scriptingRuntimeVersion == ScriptingRuntimeVersion.Legacy) { return(GetMonoProfileLibDirectory()); } return(Path.Combine(MonoInstallationFinder.GetProfilesDirectory(MonoInstallationFinder.MonoBleedingEdgeInstallation), k_UnityScriptProfileDirectory)); }
static FrameworkResolver() { if (!MonoInstallationFinder.IsValid) { return; } RootPath = MonoInstallationFinder.GetProfilesDirectory(MonoInstallationFinder.MonoBleedingEdgeInstallation); AvailableFrameworkPaths = GetAvailableFrameworkPaths(RootPath).ToArray(); LastAvailableFrameworkPath = AvailableFrameworkPaths.LastOrDefault(); }