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.


Topics - PoN

Pages: 1 [2]
16
NGUI 3 Support / Draggable Panel - OnDragFinished ?
« on: February 17, 2013, 09:22:41 PM »
OnDragFinished invoking when just Click or Touch on items of Draggable Panel, without dragging - it's wrong. I thought this check on start Drag event and finish Drag event, not Click or Touch.How can i check these events ?

17
NGUI 3 Support / How to optimize Drag Panel with clipping ?
« on: February 13, 2013, 10:11:23 PM »
When i dragging (OnDragging) panel with clipping (Scrolling panel with items,each item has a lot of widgets) Tris & Verts increase and fps down on iOS devices.When OnDragFinish Tris & Verts decrease. Pls help, make better performance a scrolling panel ? Thanx

18
NGUI 3 Support / Get size in pixels
« on: February 07, 2013, 04:42:52 AM »
How can i get a real size in pixels of UILabel with multiline ?
i try this code :

  1.         private Vector3 GetRealSize (Transform go)
  2.         {
  3.                 return NGUIMath.CalculateRelativeWidgetBounds(go).size;
  4.         }
  5.  
But result isn't right.

19
NGUI 3 Support / UILabel with UILocalize
« on: February 01, 2013, 02:45:31 AM »
How can i add string value to UILabel with UILocalize component in code ?
I do this:
  1.    
  2.       //GameObject with UILabel and UILocalize (key = SOME_KEY) components
  3.         public UILabel lblMessage;
  4. ...
  5. ...
  6.        // invoke SomeObj.Show("blah blah");
  7.         public void Show (string message)
  8.         {
  9.                 lblMessage.text += message;    
  10.         }

And i have UILabel with text from localization file.

20
NGUI 3 Support / NGUI v.2.2.6c ,Here BUG or not ? Check pls
« on: December 12, 2012, 06:39:24 AM »
NGUI v. 2.2.6c , file UIFont.cs, line 747 - Color32 color , Is it really right?

#if UNITY_3_5_4
   public void Print (string text, Color32 color, BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color> cols,
      bool encoding, SymbolStyle symbolStyle, Alignment alignment, int lineWidth)
#else
   public void Print (string text, Color32 color, BetterList<Vector3> verts, BetterList<Vector2> uvs, BetterList<Color32> cols,
      bool encoding, SymbolStyle symbolStyle, Alignment alignment, int lineWidth)
#endif
   {

21
NGUI 3 Support / Create Atlas by Texture Packer with "rotation" sprite ?
« on: October 08, 2012, 10:33:45 PM »
Pls ,Tell me how can i do that, create atlas by NGUI Atlas Maker and use "rotation" feature of Texture Packer ? thx

22
NGUI 3 Support / Set atlas size ?
« on: September 25, 2012, 12:27:22 AM »
Hi, How can I set strictly size of Atlas Texture , like 512x512, 1024x1024 etc. ? tnx

Pages: 1 [2]