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

Pages: [1] 2
1
NGUI 3 Support / Re: Dynamic font + emoticon in NGUI 3?
« on: August 26, 2015, 10:59:18 AM »
Just got the same target. How did you solve the issue about big atlas size?

2
NGUI 3 Support / Re: All NGUI objects isn't rendering after scene switching
« on: September 08, 2014, 11:16:19 AM »
Ha-ha I saw it but didn't know how to fix :)

3
NGUI 3 Support / Re: All NGUI objects isn't rendering after scene switching
« on: September 07, 2014, 11:42:24 PM »
Solved!
It happens when UIWidget and UIPanel are on one object.
You should make a warning about it.

4
NGUI 3 Support / All NGUI objects isn't rendering after scene switching
« on: September 07, 2014, 10:19:33 PM »
Hello. I randomly run into a bug after switching scenes. And when it occurs - nothing's rendering in bugged UIPanel.
After a little investigation I find out that it's happening because one of the UIPanels receives UIPanel.LateUpdate() after it's been destroyed.
  1. MissingReferenceException: The object of type 'UIPanel' has been destroyed but you are still trying to access it.
  2. Your script should either check if it is null or you should not destroy the object.
  3. UnityEngine.Component.get_transform ()
  4. UIRect.get_cachedTransform () (at Assets/NGUI/Scripts/Internal/UIRect.cs:198)
  5. UIPanel.UpdateTransformMatrix () (at Assets/NGUI/Scripts/UI/UIPanel.cs:982)
  6. UIPanel.UpdateSelf () (at Assets/NGUI/Scripts/UI/UIPanel.cs:1183)
  7. UIPanel.LateUpdate () (at Assets/NGUI/Scripts/UI/UIPanel.cs:1144)

5
NGUI 3 Support / Re: Calculate actual progress bar's foreground width
« on: August 03, 2014, 02:21:23 PM »
Thanks!

6
NGUI 3 Support / Calculate actual progress bar's foreground width
« on: August 03, 2014, 02:00:51 AM »
Hello.
I'm trying to calculate width of progress bar foreground with NGUIMath.CalculateRelativeWidgetBounds, but it returns original size of this texture. So how to calculate actual size?
UPD: this foreground is a sliced texture so i can't just multiply original size of texture by progressBar.value.

7
NGUI 3 Support / Center on child issue
« on: June 13, 2014, 09:42:52 AM »
Hello. I'm trying to add gamepad in our game. I need to make menu with lots of selectable elements. When user selects object which is out of screen bounds - elements scroll to this object. So it's very similar to scene Example 7 - Scroll View (Panel)
Is it possible make menu like in this scene, but without this gap when user selects first element?

I used to select middle object when selected first object, but I've got another gap:

SO the first object is little out of screen. And if I have 2 items on screen I event don't have this middle object.

8
NGUI 3 Support / Re: 3.0.9 f4 Problem With Colliders On Scroll Views
« on: January 22, 2014, 05:20:26 PM »
I have the same problem

9
NGUI 3 Support / Re: UICenterOnChild feature request
« on: December 06, 2013, 01:38:26 PM »
Thank you UncleAcid!
I hope this changes will be in the next update too.

10
NGUI 3 Support / UICenterOnChild feature request
« on: December 06, 2013, 08:26:00 AM »
Hi!
I'm using UICenterOnChild to swipe between map lists in our game. This objects are big and if I want to see the next list I have to slide too much range (red arrow on picture). This is very invonvinient on tablets and PC.


May I ask you to add functionality in UICenterOnChild to set this range?(like on blue arrow)

11
NGUI 3 Support / UIDragScrollView resets scrollView
« on: December 03, 2013, 12:16:14 PM »
Hi!
after last update, if I set UIDragScrollView.scrollView manually:
  1. outlinesObject.scrollView = gameObject.GetComponent<UIScrollView>();

and if there is no UIScrollView in parents, the UIDragScrollView script resets scrollView paremeter to null.
in this line of UIDragScrollView.Press function:
  1. if (!pressed && mAutoFind) scrollView = NGUITools.FindInParents<UIScrollView>(mTrans);

can you fix it and add scrollView!= null in this condition?

if (!pressed && mAutoFind && scrollView!= null) scrollView = NGUITools.FindInParents<UIScrollView>(mTrans);

12
NGUI 3 Support / UIPopupList questions
« on: November 09, 2013, 11:59:57 PM »
Hi.
1st question - how can I set popupList background width?
from this:


to this:


and the 2nd - how can I fix this?

it occurs after localization in a few languages

13
NGUI 3 Support / Re: UIStretch problems after migrating to 3.0.2
« on: October 18, 2013, 06:56:42 PM »
So is there any way to use UIStretch in perspective camera?

14
NGUI 3 Support / Re: UIStretch problems after migrating to 3.0.2
« on: October 18, 2013, 04:46:13 AM »
Oooops ;D
So, I have new question. UIStretch doesn't work correctly if the camera is in perspective mode.
It works fine  if my background object right in the camera position, but if I move bg sprite position back - it won't cover all background space.

15
NGUI 3 Support / Re: UIButton.isEnabled strage behaviour
« on: October 16, 2013, 10:20:07 AM »
Thanks. It works.
But if I want to enable and disable buttons dynamicly it works only with UpdateColor(val, true)
It will be very handy if you return back enable/disable behaviour as it was in 2.7x versions.

Pages: [1] 2