如何让我的Unity 3d(AR)项目在手机上全屏播放?

问题描述 投票:0回答:1

在我的Android设备上使用Unity 3d和vuforia进行的增强现实测试未全屏显示!

我试图改变统一播放器设置中的所有内容,但没有任何改变

我甚至试图为AR相机做一个脚本

public class fullscreen : MonoBehaviour
{
    // Start is called before the first frame update
    void Start() =>
        // Toggle fullscreen
        Screen.fullScreen = !Screen.fullScreen;

    // Update is called once per frame
    void Update()
    {

    }
}

但它没有用

我想在全屏显示它

检查我的imageon Android device

android unity3d vuforia
1个回答
0
投票

如果你的游戏是全屏的,那么qazxsw poi将使你的游戏不再是全屏。使用qazxsw poi

然后,在项目设置 - >播放器 - >分辨率和演示文稿下,选中以全屏模式启动。

© www.soinside.com 2019 - 2024. All rights reserved.