Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: sirival on February 20, 2013, 08:02:28 AM
-
Hello,
As per the subject, is it wrong to parent a UIAnchor under another UIAnchor?
We have a prefab that contains some ui elements anchored on Top and some other child elements anchored on the Bottom. This makes the bottom anchor which is parented under the Top anchor, to slowly move towards the negative z axis...
The reason we have this structure was that it is convenient for us, but if it's wrong we can figure out another way to do this.
-
Nevermind,
The anchor transform had a localposition.z != 0 which made it move on the z axis at runtime. If the local z is 0 it does not move.