1
NGUI 3 Support / [SOLVED] UIScrollView not clipping in build version
« on: January 19, 2014, 01:38:36 PM »
First of all, thank you for an excellent product. NGUI has really helped speed up the development of the gui for our game.
We have an options menu in which the user can select their preferred screen resolution.
The user clicks a button, which when clicked tweens in a window under which is a UIPanel with a soft clip. Child to the UIPanel is a grid. This grid gets populated with prefabs at runtime corresponding to the various resolutions available to the user based on their monitor. All these prefabs are instantiated properly with NGUITools.AddChild, and appear correctly in the hierarchy as they should, and are associated with the correct panel in the panel tool.
Everything works and looks as intended in the unity editor when tested from within unity.
In the build version however, once the user moves the contents of the panel the clipping seems to stop, and all of the contents of the panel appear suddenly. We cannot replicate this behavior in the editor during runtime, only in the build version.
Thoughts?
We have an options menu in which the user can select their preferred screen resolution.
The user clicks a button, which when clicked tweens in a window under which is a UIPanel with a soft clip. Child to the UIPanel is a grid. This grid gets populated with prefabs at runtime corresponding to the various resolutions available to the user based on their monitor. All these prefabs are instantiated properly with NGUITools.AddChild, and appear correctly in the hierarchy as they should, and are associated with the correct panel in the panel tool.
Everything works and looks as intended in the unity editor when tested from within unity.
In the build version however, once the user moves the contents of the panel the clipping seems to stop, and all of the contents of the panel appear suddenly. We cannot replicate this behavior in the editor during runtime, only in the build version.
Thoughts?