Version: 2017.2

EditorUserBuildSettings.selectedStandaloneTarget

Switch to Manual
public static BuildTarget selectedStandaloneTarget ;

Description

The currently selected target for a standalone build.