如果安卓插件是aar包,需要包里的AndroidManifest和unity 插件/安卓 下的AndroidManifest文件一致,都添加下面代码设置,只使用横屏设置

android:configChanges="orientation|screenSize"
android:screenOrientation="landscape"

posted on 2020-04-29 18:00  红灯亮了  阅读(305)  评论(0)    收藏  举报