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 - PoN

Pages: 1 [2] 3 4 ... 8
16
i think i have similar trouble , in unity 4.5.5 and ngui 3.7.4. . when i use drag & drop item which has uipanel component, and when item goes back to grid if can't dropped to right a surface. i use hack like this :
  1.         panelItem.enabled = false;// NGUI hack
  2.         panelItem.enabled = true; // NGUI hack
  3.  

or without this hack, item is just disappear when moved back to grid.

17
  1. RootGameObject = btn.transform.parent.gameObject;
  2.  

18
Create Panel object with Sprite(sliced) inside of panel. Attach BoxCollider on the Sprite. And adjust depth of panel to be on the top of all, also you could set an anchor of Sprite to stretch the sprite and adjust alpha of the sprite. Good luck.

19
NGUI 3 Support / How to add change alpha possibility?
« on: October 01, 2014, 09:15:03 PM »
I would like to add possibility to change an alpha of material by slider in UIPanel. I have my own shader for 3d object , i'd like to change slider position of alpha on UIPanel that changes alpha of material on 3d objects. What i should to add in the shader ?

20
NGUI 3 Documentation / Re: UITable
« on: September 18, 2014, 09:15:43 PM »
yes, i've checked again , every child item has pivot - Center,Bottom, than i've run "Execute" of UITable , look at attachments pls

21
NGUI 3 Documentation / Re: UITable
« on: September 17, 2014, 09:21:17 PM »
i've tried your an advice , and look at the attachments , that happens after execute.


22
NGUI 3 Documentation / Re: UITable
« on: September 17, 2014, 03:08:58 AM »
Aren could help me pls,

I would like my items with different height in table object with UITable component,  align by bottom bound, how to do that ?

thanks

23
NGUI 3 Support / Re: Pivot position in UITable
« on: September 16, 2014, 11:51:57 PM »
What about is bottom alignment  of table items ? seem still not working

24
FIXED!RESOLVED!

I just have added a Cube object to Hierarchy under Camera object which has a UICamera component. On the Cube object set UI Layer.  Then i 've added UIEvent trigger component on the Cube object, then start scene , try to click on the Cube and nothing happend , where i was wrong ?

I would like to tap/click on an any 3D object and get event of NGUI system. How to do this ?

thanks.

FIXED!RESOLVED!

25
NGUI 3 Documentation / Re: UIButton
« on: July 14, 2014, 10:10:14 PM »
Aren , Why this component doesn't have a text property , which set a text on a UILabel component of control button ? i think that is right logic for the UIButton component, like in other languages, for example .NET WindowForms - Button class or JavaFX. so what do you think ?

26
i think is a better way, that to create refs an UIInput component , instead of Transform then get a property - value,

  1. public UIInput userField;
  2. public UIInput passField;
  3.  
  4. void OnClick()
  5. {
  6.      Debug.Log("username: " +userField.value + " password: " +passField.value);
  7. }
  8.  

27
NGUI 3 Support / Re: [Suggestion] some features
« on: July 06, 2014, 12:38:53 AM »
3. I don't quite follow this. Tweens by multi inputs? Why specify a list of positions? If you are getting this complicated, create an animation, not a tween. Tweens are for going from point A to point B. Animations can be anything.

probably he talks about a sequence of Tween ?

28
NGUI 3 Support / Re: Get Relative size UIWidget
« on: June 25, 2014, 10:04:25 PM »
UILabel has a properties - localSize and printedSize . check these out.

29
NGUI 3 Support / Re: Easier way to get Screen Rect of a Panel
« on: June 25, 2014, 10:00:45 PM »
NGUI has a methods for calculating bounds, so try these methods -    NGUIMath.CalculateAbsoluteWidgetBounds(...) , NGUIMath.CalculateRelativeWidgetBounds(...) .

30
NGUI 3 Support / Re: Problems after update
« on: June 10, 2014, 08:31:08 AM »
Have you deleted free NGUI first ?

Pages: 1 [2] 3 4 ... 8