Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: gamedivision on May 24, 2014, 04:10:08 PM
-
im using create object (its an ngui label) in my scene but i need to control where its created within my hierarchy
anyway of doing this
thanks
-
I made the mistake of trying the default create object and set parent actions on ngui elements.
Long story short- download the ngui actions for playmaker and use the nguitools.addchild action. Otherwise you get a stupid amount of weirdness like sizes going nuts and offsets not working. (I was adding buttons to a scrollview grid. It was not working right at-freakin-all)
So use the package here:
https://hutonggames.fogbugz.com/?W1111
-
ohh thank you your a star,is there anyway of adding labels to a scroll view were it will automatically rearrange the labels in order because the only other way would be to register the position of the last item them reposition the new with variables
-
the grid view does what i want but doesn't let me scroll through
-
i sorted it i just added the grid view script to the scroll view everytime i add a new label at runtime it automatically positions it