Welcome,
Guest
. Please
login
or
register
.
May 19, 2025, 07:27:00 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIPanel 's clipping region is not shown correctly in v2.27
« previous
next »
Print
Pages: [
1
]
Author
Topic: UIPanel 's clipping region is not shown correctly in v2.27 (Read 2331 times)
pengyingh
Guest
UIPanel 's clipping region is not shown correctly in v2.27
«
on:
January 07, 2013, 03:25:14 AM »
In editor scence, clipping pink rect is larger than the real clipping region, i guess something wrong in Gizmos;
«
Last Edit: January 07, 2013, 03:31:03 AM by pengyingh
»
Logged
Cripple
TNP Alpha
Full Member
Thank You
-Given: 0
-Receive: 0
Posts: 117
Re: UIPanel 's clipping region is not shown correctly in v2.27
«
Reply #1 on:
January 07, 2013, 04:05:30 AM »
I thought that v2.2.7 was actually fixing this bug which was present in v2.2.6
Logged
Graphicstream Dev.
pengyingh
Guest
Re: UIPanel 's clipping region is not shown correctly in v2.27
«
Reply #2 on:
January 07, 2013, 04:27:49 AM »
this bug comes after the NGUI upgraded to 2.27, the clipping rect is just wrong shown in editor screen, i delete some code in UIPanel , it gets back to normal.
«
Last Edit: January 07, 2013, 04:32:24 AM by pengyingh
»
Logged
pengyingh
Guest
Re: UIPanel 's clipping region is not shown correctly in v2.27
«
Reply #3 on:
January 07, 2013, 04:36:34 AM »
void OnDrawGizmos ()
{
//UIRoot root = NGUITools.FindInParents<UIRoot>(gameObject);
//float scale = (root != null && !root.automatic) ? root.manualHeight / mScreenHeight : 1f;
//size *= scale;
}
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: UIPanel 's clipping region is not shown correctly in v2.27
«
Reply #4 on:
January 07, 2013, 09:14:19 AM »
You need to wrap that section in "if (!clip)". I'll fix that in the next update.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
UIPanel 's clipping region is not shown correctly in v2.27