public static bool SwitchActiveBuildTarget(BuildTarget target) { return(EditorUserBuildSettings.SwitchActiveBuildTarget(BuildPipeline.GetBuildTargetGroup(target), target)); }