Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: paulygon on October 10, 2014, 10:37:07 AM

Title: Valid Uses for Legacy Anchors
Post by: paulygon on October 10, 2014, 10:37:07 AM
I came upon the need to use an anchor that didn't impact the size of an NGUI Panel. The position of my anchored object needs to be outside the boundaries of my rendered panel and by attaching a UIWidget, and thereby gaining access to the righteously cool new anchor system, the panel bounds change to include the new widget, which is of course the behavior you want 99.9% of the time. I could move my anchored, non UIWidget object out of the panel group, but for organizational purposes I'd prefer not to.

No complaints here, I'm just saying I need me the old UIAnchor on occasion for it's simplicity. The inspector warning makes it clear I shouldn't use them, but I couldn't come up with a new anchor alternative.