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

Pages: [1]
1
NGUI 3 Support / Re: UIEventListner doesn't work 2.6.3
« on: July 02, 2013, 12:55:37 PM »
I'm sorry, you're right. It was a layer problem.
My problem was NUITools.AddWidgetCollider() box.center = b.center + Vector3.back * (depth * 0.25f);.
I didn't care this.
Thank you.

2
NGUI 3 Support / Re: Shrink to fit of UILabel
« on: July 02, 2013, 11:51:42 AM »
I'm using 1 font(in this case 32 pixels font) to many sizes (scale to 10 20 30 40~),
in my example I scaled it to 16(x=16, y=16) and line count is 1.
so I want maxY is 16.
but ProcessText() maxY = mFont.size * mMaxLineCount; dependent on font size.
It means if I want to use shrink to fit works well, UILabel's scale must be same as font size.
Is this right?

Thank you.

3
NGUI 3 Support / Shrink to fit of UILabel
« on: July 02, 2013, 02:20:24 AM »
Hello.

for example,
font size is 32.
and I want to print some text by this font already scale to 16, (maxwidth is xxx, maxline is 1)
shrink to fit doesn't work.
It prints 2 lines because ProcessText() float maxY is 32.
Is it an intended behavior?

Thank you.

4
NGUI 3 Support / UIEventListner doesn't work 2.6.3
« on: July 02, 2013, 01:34:10 AM »
Hello.
I use UIEventListener like this

  1. UIEventListener.Get(trBtnOK.gameObject).onClick += OnButtonOK;
  2.  

and it works perfect.

after updating 2.6.3 it doesn't work. OnButtonOK can not be called.

Thank you.

5
NGUI 3 Support / Re: 3D UIAnchor doesn't work..
« on: January 29, 2013, 10:16:55 PM »
I tested NGUI "Example 3 - Menu".
Its hierachy is
UI Root (3D)
 + Camera
   + Anchor
I've changed Anchor's side and nothing happen. (2.3.1)
Previous version works well.
I know 3d anchor's depthOffset is removed.
I should change hierachy or camera?
Thank you.

6
NGUI 3 Support / 3D UIAnchor doesn't work..
« on: January 29, 2013, 02:53:14 AM »
Hi.
After updating version 2.3.1 3D UIAnchor doesn't work..
Thanks for reading.

Pages: [1]