1
NGUI 3 Support / Re: NGUI Unity 2017.3 ScrollRect Support
« on: January 14, 2018, 05:09:53 PM »
Update2: This is nothing to do with ScrollRect, other than the fact that it looks like Raycasts are screwed up in 2017.3 and the behaviour changes when the mouse is down (!!!) - setting a screen size of fixed resolution in gameView (e.e.g FWVGA Portrait 480x854) rather than an aspect ratio results in everything working correctly.
It sounds liek something similar has happened in the past, based on the comment in NGUIToolscs:1991.
//#if UNITY_EDITOR_OSX
// There seems to be a Unity 5.4 bug that returns invalid screen size when the mouse is clicked (wtf?) on OSX
//if (mGameSize.x == 1f && mGameSize.y == 1f) mGameSize = s_GetSizeOfMainGameView();
.
It sounds liek something similar has happened in the past, based on the comment in NGUIToolscs:1991.
//#if UNITY_EDITOR_OSX
// There seems to be a Unity 5.4 bug that returns invalid screen size when the mouse is clicked (wtf?) on OSX
//if (mGameSize.x == 1f && mGameSize.y == 1f) mGameSize = s_GetSizeOfMainGameView();
.