Version: 2017.3

EditorUserBuildSettings.selectedStandaloneTarget

Switch to Manual
public static BuildTarget selectedStandaloneTarget ;

Description

The currently selected target for a standalone build.