unity android only landscape
Go to Edit > Project Settings > Player it will open Player Settings in the inspector. Select the target platform from the list. Click the Resolution and Presentation section. Set the Default Orientation to Landscape left / right.
To allow both landscape options: In Default Orientation select Auto Rotation. Allowed Orientations for Auto Rotation will appear: select the options you want