Unity mobile screenorientation Landscape left and right

Hi,
My game is landscape and currently the user can’t rotate the device.

What I want to achieve is left the autorotation system to landscape left and right , but unity only left me to choose one ( image )104482-landscape.gif

I also tested with code on Start but it doesn’t work, Any ideas?

  Screen.autorotateToLandscapeLeft = true;
  Screen.autorotateToLandscapeRight = true;

Just in case someone came with the same problem, select “Auto rotation” left you to configure how do you want to work

File >> Build Settings >> Player Settings >> Inspector Panel

Default Orientation - Auto Rotation >> Allowed Orientations for Auto Rotation

          - Uncheck Portrait and Portrait Upside Down 
          - Check Landscape Right and Landscape Left 

Using Unity 2017.4.21f1