0

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

似乎只在第二次关闭everyplay界面时发生。

4

1 回答 1

2

最新的 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 中,看看没有它是否能更好地工作?

于 2013-02-06T11:27:29.473 回答