当我退出everyplay界面时,有时会导致我的整个unity渲染窗口向左或向上移动约25%。
这似乎只有在第二次关闭everyplay界面时才会发生。
发布于 2013-02-06 19:27:29
最新的1.0.8SDK引入了对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,看看没有它是否工作得更好?
https://stackoverflow.com/questions/14726046
复制相似问题