Unity's method of setting the horizontal screen and vertical screen of the mobile phone screen when packaging

Android or iOS projects basically need to set the screen rotation direction, the common one is to lock the horizontal screen

As shown


Next, select the corresponding platform in the second step as shown in the figure


Default Orientation means the default orientation

Portrait: vertical screen

Portrait Upside Down: vertical screen, the phone is upside down

Landscape Right: landscape screen, the screen is to the right of the home button

Landscape Left: horizontal screen, the screen is on the left side of the home button (more commonly used)

Auto Rotation: Automatically rotate the screen

Auto Rotation has additional options, you can only check certain directions, and specify the rotation direction according to your personal needs.




Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325624324&siteId=291194637