1
NGUI 3 Support / Re: scaling problem
« on: December 03, 2015, 11:41:32 AM »
How do you change parents?
Usually you would do something like:
The second param does the trick. It prevents your child from getting modified in scalings.
Read more at: http://docs.unity3d.com/ScriptReference/Transform.SetParent.html
Usually you would do something like:
- gameObject.transform.SetParent(parentObject.transform, false);
The second param does the trick. It prevents your child from getting modified in scalings.
Read more at: http://docs.unity3d.com/ScriptReference/Transform.SetParent.html


