Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Tatanan on October 14, 2014, 06:09:06 AM

Title: Unified anchor with respect to UI Root in a gameObject within a prefab
Post by: Tatanan on October 14, 2014, 06:09:06 AM
Just that.
Is is possible?
I'm seeing that, when I save a prefab, those anchors with respect to UI Root don't appears on other instances of this prefab.
Title: Re: Unified anchor with respect to UI Root in a gameObject within a prefab
Post by: ArenMook on October 14, 2014, 03:02:09 PM
Have a UIWidget on your prefab object, and anchor everything underneath that prefab to this root widget instead of the screen. When you instantiate the prefab, also set its widget's anchor to UICamera.list[0].camera.transform.