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

Pages: [1] 2
1
NGUI 3 Support / UIInput touching outside of keybord cause Submit function
« on: December 09, 2015, 06:52:27 AM »
Hello.
We have chat in out game and UIInput for entering the text. Weve find out that on some Android devices (such as Samsung Galaxy Tab S 8.4) tapping outside of keyboard cause calling Submit event and after that unselect event. We dont need submit, only unselect. On iOS devices and, for example, Galaxy Tab 4 7 this issue cannot be reproduced.

Ive read http://www.tasharen.com/forum/index.php?topic=11493.msg53404#msg53404 post where U have mentioned thats Unity bug, but it was posted more than year ago. Maybe something changed.

Unity 4.6.0, NGUI 3.5.6

Thank U,
Paul.

2
NGUI 3 Support / UILabel dynamic font by code
« on: June 09, 2015, 09:00:19 AM »
Hello.
We want to change bitmapfont in our uilabels to dynamic. Is there a way to set it buy code? because i cant find any property in uilabel obj?

Thank U,
Paul.

3
NGUI 3 Support / UILabel iOS font missing
« on: May 28, 2015, 08:19:55 AM »
Hello.
We are using UILabel and NGUI Type font on Android version. But after making an update on Mac all fonts in every uilabel in game are missing and the types are changed to Unity. Is there a way to fix the issue?

Thank U

4
NGUI 3 Support / UIScrollView add new items dynamically
« on: April 23, 2015, 09:38:48 AM »
Hello!
In the scroll view we need to implement the next thing:
There are, for example, 20 items in UIScrollView. When I drag it to the end of the list it should call some function that will add some amount of new items to the end of the list. After dragging new list to the bottom it should add new amount again. And so on.

Is it possible to realize such a thing via NGUI?

Thank U.
Best regards,
Paul.

5
NGUI 3 Support / NGUI Android mouse not working
« on: October 30, 2014, 10:16:36 AM »
Hello. I need to use mouse on Android, but it seems NGUI doesnt calculate mouse clicks. Is it possible to use mouse and taps the same time ?
Thank U

6
NGUI 3 Support / Group of UIToggles error
« on: August 28, 2014, 02:57:26 AM »
Hello. I have a group of UIToggle. This is 5 separate UIToggles and 1 - Check All Toggle. When I check Check All Toggle it should do something like:
   foreach (PlayerItem item in m_PlayersList)
            {
                if (!item.IsChecked)
                    item.SelectPlayerToggle.value = true;
            }

There is OnValueChange event on  item.SelectPlayerToggle. But I receive an error on the first iteration
Object reference not set to an instance of an object UIToggledObjects.Toggle () (at Assets/NGUI/Scripts/Interaction/UIToggledObjects.cs:49) - bool val = UIToggle.current.value;

Is there a way to do this by code?
Thank U

7
NGUI 3 Support / Make UISprite black-and-white
« on: July 22, 2014, 04:18:41 AM »
Hello.
Im using UISprite to render sprites. I have two sprites that are in the same atlas.
Is there a way to make one of them black-and-white without creating additional textures?

Thank U
Paul

8
NGUI 3 Support / Get UISprite actual size
« on: April 10, 2014, 01:24:08 PM »
Hello. I  have UIRoot set to FixedSize and a UISrite inside with Dimension = 150, 150 in bottom left corner. I need to calcuate something like Screen.width - UISprite width (in pixels). Actually when I call UISprite.localSize.x  or UISprite.width its give me 150. But on different resolutions actual size in pixels is different. Is there a way to get actuall pixel size of UISprite on each resoution?

Thank You,
Paul

9
NGUI 3 Support / UIPanel in UIScrollView
« on: April 04, 2014, 04:33:47 AM »
Hello. I have UIScrollView with specific size. Inside I have parent object with UIDragScrollView on it. Inside this parent I have a lot of sprites. Everything works fine. But I need to put UIPanel on parent object. When I do it, all sprites inside stops cliping when drag outside of UIScrollView panel. Is it possible to make it clip with UIPanel?

Thanks

10
NGUI 3 Support / NGUI 2.7 tiled sliced sprite question
« on: March 11, 2014, 08:34:29 AM »
Hello. We have a project and we need to realize such a thing - http://www.youtube.com/watch?v=fyIpbMMUOFw
But we have almost done project with NGUI 2.7. So it will take too much time to import NGUI 3.5. Is there a way to make window like on video without changing NGUI version?

Thank U
Paul.

11
NGUI 3 Support / UICheckbox onChecked question
« on: January 24, 2014, 06:53:07 AM »
Hello. I have 3 UICheckboxes. Each of them controls different object. When I click on checkbox, controlled gameObject is shown. How can I call different function for each of these checkboxes when I click on it.

Thank U.

12
NGUI 3 Support / UILabel different scale
« on: December 17, 2013, 10:19:56 AM »
Hello. Is there a way to set different size to the UILabel text. For example: UILabel.text = "Hello NGUI".
I need to make "Hello" - size 25 and " NGUI" - size 15.
Thank U

13
NGUI 3 Support / UILabel chat question
« on: December 04, 2013, 10:43:10 AM »
Hello. I need a chat. And I made it according to the example in NGUI 2.7. But i need to scroll it when the length of message is bigger than chat panel. I can do it by wheel on PC but cant on Android by finger. How can I scroll chat window with finger?

14
NGUI 3 Support / How to create scroll like in android with NGUI
« on: November 27, 2013, 04:11:45 AM »
Hello. Is there a way to create a scroll panel with NGUI that will work as Android or iOS screen when slide it. Switch screen when slide and a bar that show on which screen U are located now.
Thank U.

15
I have a parent with Clipping - None, and as child a have UIPanel with Clipping - Soft Clip and UIDraggable Camera. So i have Scroll View (Panel). When I scale Parent by script (transform.localScale = new Vector3(0.8f, 0.8f, 1) I get an error on Panel with Clipping - Soft Clip  - Clipped panels must have a uniform scale, or clipping won't work properl. When I try to scale it manually in game its ok. How can i fix it? Scaling is necessary.

Pages: [1] 2