Is there any way can enter the scene when the default b is vertical screen, no longer need to swing device to switch,
CodePudding user response:
Dynamic in the program Settings screen direction://the following code sets the direction of the screen to horizontally
Screen. The orientation=ScreenOrientation. LandscapeLeft;
CodePudding user response:
this is ios and android universal, but sometimes you project the SDK may have conflicts with this