Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - 9to9

Pages: [1]
1
NGUI 3 Support / Re: Dynamic content NGUI
« on: May 12, 2014, 03:21:43 AM »
  1. GameObject copy = NGUITools.AddChild(parent, prefab);
It doesn't add it under UIRoot. It adds it wherever you choose (the 'parent' parameter).

Yihaa, thx u bro, thx u :D, u should put code example in NGUI, so rest of us can know how to use it via code only

2
NGUI 3 Support / Re: Dynamic content NGUI
« on: May 09, 2014, 05:27:33 AM »
What are you planning on receiving from the server?  If you plan on only having one UI then you should create a UIRoot in the editor and keep a reference to that in your code. 
As you receive details about your UI you could just use NGUI.AddChild to create more objects, as you progress through it you should be keeping track of which object is what so it will be easier to parse through.

Ok bro, i dont undestand u saying hahahahaha, so i create UIRoot at hierarchy and i set reference to it in my code and i use NGUI.AddChild ? can u give me example code for NGUI.AddChild, is this code directly add widget/child inside UIRoot?

3
NGUI 3 Support / Dynamic content NGUI
« on: May 07, 2014, 04:37:03 AM »
Hello there,
Anyone have example how to build NGUI from code? i want to make a dynamic GUI based on response that i receive from server, can anyone give me example?what i must do first? is UIRoot created first or what? thx u

Regards, Ama

4
NGUI 3 Support / Re: NGUI vertical scroll view?
« on: May 07, 2014, 04:18:56 AM »
http://www.tasharen.com/ngui/docs/class_u_i_grid.html

"max per line" in the script. Column Limit / Row Limit (depends on your arrangement) in the current Pro version of NGUI.
ow ok, found it thank u very much

5
NGUI 3 Support / Re: NGUI vertical scroll view?
« on: May 06, 2014, 12:41:11 AM »
ooow, ok i will try that, thank you :D 2x
sorry, i cant find number of row and column in UIGrid script, i only find cell widht and length

6
NGUI 3 Support / Re: NGUI vertical scroll view?
« on: May 06, 2014, 12:30:42 AM »
A grid can be set up to have a limited number of columns/rows, which will cause it to create new columns/rows as necessary, thus becoming 2D rather than 1D.
ooow, ok i will try that, thank you :D 2x

7
NGUI 3 Support / Re: NGUI vertical scroll view?
« on: May 04, 2014, 10:48:48 PM »
What do you mean vertical and horizontal working together? Example 14 - Endless Scroll Views features both.

i mean we are just using one grid, can we achieve horizontal and vertical for just one grid ? i already look example 14 and its using different grid

8
NGUI 3 Support / Re: NGUI vertical scroll view?
« on: May 02, 2014, 03:18:19 AM »
@ ENAY : Thank you for your response, its working now, but iam still working to make item is clickable

@ ArenMook : Thank for the example bro, uum any chance that vertical scroll view and horizontal scroll view is working together?do you have any example for this particular case?

9
NGUI 3 Support / NGUI vertical scroll view?
« on: April 29, 2014, 11:13:55 PM »
Anyone have example for working vertical scroll view?, i try to use example from ngui for scrollview, but it doesnt work when i turn it to vertical scroll view, any help is appreciated, thx u

Pages: [1]