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
1
NGUI 3 Support / Get count lines in UILabel ?
« on: May 04, 2015, 12:40:28 AM »
 Hello,

How to get count lines of UILabel text ?

Thanks.

2
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 ?

3
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!

4
NGUI 3 Support / GameObject disappear from Clipping ? How check it?
« on: March 19, 2014, 10:17:56 PM »
Who could help me, i want to check gameobject which go out from a clip area in Panel with Clipping (determine a gameobject is disappear from Clip area)? now i have decision ,that is calculate the Y position of gameobject by
  1.  yPos = NGUIMath.CalculateRelativeWidgetBounds (_transform_of_clip_panel, item.gameobject.transform).center.y+deltaY;

then checking with Y bounds of clip area  in Update() . Maybe have a better way ?
thanks

5
NGUI 3 Support / Too much GC alloc
« on: February 27, 2014, 05:35:09 AM »
Why is too much GC alloc for UIRect ? How can i reduce?

6
NGUI 3 Support / New "Depth" system
« on: February 18, 2014, 12:27:53 AM »
Dont understand how it works new system of drawcalls in 3.4.8 ver with "depth". How can i decrease drawcalls with depth , bcoz after update from 2.7 ver , my same panel increases drawcalls in NGUI 3.4.8 , Who could explain to me? How make 1 drawcall with many uiwidgets ?
thanks a lot.

7
NGUI 3 Support / UITexture doesn't repainting
« on: February 17, 2014, 02:53:50 AM »
Hi Aren, I use UITexture with material which has my own shader, then i change params , like these :

  1. material.SetColor("_BrdColor",....
  2. material.SetColor("_BGColor",...
  3. material.SetColor("_FGColor",...
  4.  

but UITexture not update or not repainting , and only repainting (display with new params) when i click on UIInput or click on UIPopupList or just disable-enable UITexture component, why? what'w wrong?

P.S. that had been coming from NGUI 2.7 vers.

8
NGUI 3 Support / UIButton help pls (NGUI 3.4.8) ?
« on: February 07, 2014, 06:59:36 AM »
How to set Notify field by code ? And why UIButton component being disabled after Play Unity ? I would like set Notify field to instantiated GameObject with UIButton component by code.

9
NGUI 3 Support / UIAtlas.Sprite inner field in NGUI 3 ver?
« on: November 28, 2013, 06:42:06 AM »
What should i use in NGUI 3.0.6, instead of UIAtlas.Sprite inner field ? Who knows ? before i used that field in 2.7 version , but now its broken

10
What better way do you use to checking for clipped objs (was clipped obj - means hide) in clip panel in your projects ? Who could share ?

Sorry for my English , thanks.

11
NGUI 3 Support / Pls help with clipping in shader ?
« on: August 07, 2013, 12:02:05 AM »
How can i add support of clipping to my own shader ? thanks

12
NGUI 3 Support / [BUG] - Atlas prefab
« on: July 25, 2013, 09:26:02 PM »
When i try to change name of a sprite in Atlas prefab. For example, typing letter or delete, after each one action name of the sprite always change to first sprite in atlas . Check this !!

Aren,  what do you think about that ?

13
NGUI 3 Support / [SOLVED] Determine items in grid ?
« on: April 15, 2013, 11:08:17 PM »
Pls help, how to determine items which inside(showing items) and outside(clipped items) of grid ?
thanks

14
NGUI 3 Support / How get move delta of touch?[SOLVED]
« on: April 04, 2013, 11:46:08 PM »
Touch on screen ->Moving up  = delta pos Y ?

[SOLVED]
UICamera.genericEventHandler = this.gameObject;
..
..
  1.         void OnDrag (Vector2 delta)
  2. {
  3.                 if (enabled && UICamera.currentTouchID > -2)
  4.                 {
  5.                        deltaY = UICamera.currentTouch.totalDelta.y;
  6.                 }
  7. }

15
NGUI 3 Support / UIStretch bug (SOLVED)?
« on: March 19, 2013, 03:57:08 AM »
if i change aspect from IpadWide(1024*768) to Iphone 5 Wide (16:9) or iPhone 4G Wide (960*640) UIStretch doesn't work properly? NGUI version 2.3.6a , before works fine.


[SOLVED]


Pages: [1] 2