Support => NGUI 3 Support => Topic started by: Harsul on July 20, 2012, 11:53:58 AM
Title: Return UITable Children
Post by: Harsul on July 20, 2012, 11:53:58 AM
Hi.
List<Transform> UITable.children[get]
How exactly can i return the UITable Childrens? i don't really understand it, could someone help/explain it to me?
Thanks!
Title: Re: Return UITable Children
Post by: PhilipC on July 20, 2012, 02:16:34 PM
.children is just a property (in this case its read only) to get the children you must first have the table as a variable (say UITable myTable) and then you could do List<Transform> tableChildren = myTable.children;
Title: Re: Return UITable Children
Post by: Harsul on July 20, 2012, 02:59:40 PM
.children is just a property (in this case its read only) to get the children you must first have the table as a variable (say UITable myTable) and then you could do List<Transform> tableChildren = myTable.children;