【问题标题】:Exiting Everyplay interface causes resolution or camera matrix to change退出 Everyplay 界面会导致分辨率或相机矩阵发生变化
【发布时间】:2013-02-06 09:53:55
【问题描述】:

当我退出everyplay界面时,有时它会导致我的整个统一渲染窗口向左并向上移动大约25%。

似乎只有第二次关闭everyplay界面时才会发生。

【问题讨论】:

    标签: everyplay


    【解决方案1】:

    最新的 1.0.8 SDK 引入了对 Unity 插件本机代码级别的更改, 你能不能评论一下

    /* Force orientation check, orientation could have changed while Unity was paused */
    UIInterfaceOrientation orientIOS = UnityGetGLViewController().interfaceOrientation;
    ScreenOrientation orientation = ConvertToUnityScreenOrientation(orientIOS, 0);
    UnitySetScreenOrientation(orientation);
    

    从您的项目 Assets/Plugins/iOS/EveryplayUnity.mm 中查看它是否效果更好 没有它?

    【讨论】:

    • 从刚刚发布的 1.0.11 SDK 开始,我们发现了更多发生这种情况的测试用例,现在我们已经修复了它们。如果您在将 Everyplay.unitypackage 重新导入您的项目后仍有问题,请告诉我们
    猜你喜欢
    • 1970-01-01
    • 2019-12-04
    • 1970-01-01
    • 1970-01-01
    • 2022-10-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多