1
NGUI 3 Support / Re: NGUI Element - Transform position
« on: May 11, 2014, 10:01:13 AM »
Thank you very much for your replay
And thank you for a tip to avoid the loop and iterating trough childs, will defiantly include script to prefab to store references.
Regarding transform.position - that was very silly mistake
got it sorted!
Regarding "NGUITools.AddChild" - I believe parent have to be "UI Root"? is there a quck way to get root? like:
NGUITools.AddChild(NGUITools.getRoot(), myPrefab); cause i didnt find
Or i have to make reference as you recommend with labels?
P.S. is that you who developing new GUI system for Unity 3.6? Got beta build of it, looks very nice and promising, but.... NGUI is way more advanced at the moment, so we rolled back to 4.3 and NGUI
P.P.S. I would defiantly recommend include more tutorials and documentation regarding how to work with NGUI or New Unity GUI from the code, rather than in Editor drag and drop.
What is more - would be nice to have pre-scripted methods to add NGUI element like
NGUITools.CreateButton(*params*)
NGUITools.CreateInputFied(*params*)
and so on...
But anyway, thank you very much and you know how great you are with your tool
And thank you for a tip to avoid the loop and iterating trough childs, will defiantly include script to prefab to store references.
Regarding transform.position - that was very silly mistake
got it sorted!Regarding "NGUITools.AddChild" - I believe parent have to be "UI Root"? is there a quck way to get root? like:
NGUITools.AddChild(NGUITools.getRoot(), myPrefab); cause i didnt find
Or i have to make reference as you recommend with labels?
P.S. is that you who developing new GUI system for Unity 3.6? Got beta build of it, looks very nice and promising, but.... NGUI is way more advanced at the moment, so we rolled back to 4.3 and NGUI

P.P.S. I would defiantly recommend include more tutorials and documentation regarding how to work with NGUI or New Unity GUI from the code, rather than in Editor drag and drop.
What is more - would be nice to have pre-scripted methods to add NGUI element like
NGUITools.CreateButton(*params*)
NGUITools.CreateInputFied(*params*)
and so on...
But anyway, thank you very much and you know how great you are with your tool

