screen adjust
This commit is contained in:
@@ -175,7 +175,7 @@ public class UIAnchor : MonoBehaviour
|
||||
else return;
|
||||
|
||||
#region add by chenbin
|
||||
mRect = NGUITools.wrapRect4Fringe(mRect);
|
||||
mRect = NGUITools.wrapRect4Fringe(gameObject, mRect);
|
||||
#endregion
|
||||
|
||||
float cx = (mRect.xMin + mRect.xMax) * 0.5f;
|
||||
|
||||
Reference in New Issue
Block a user