Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: smokas on July 23, 2016, 01:52:28 PM

Title: Zoom problem
Post by: smokas on July 23, 2016, 01:52:28 PM
Unitu 5.4f2, NGUI 3.9.9, Mac Retina.

When I click on screen (e.g. scene Example 0) controls zoom in for moment, afterwards zoom out. Is it fixable?
Title: Re: Zoom problem
Post by: ArenMook on July 24, 2016, 06:43:36 AM
I don't know what you mean.
Title: Re: Zoom problem
Post by: smokas on July 24, 2016, 07:41:51 AM
Expected such type of answer :)

It is either Unity 5.4 bug or yours. I second case you will hear more complains.

Yep, found - problem with flexible scaling. Going to fix when I will have time :)

Fixed and optimised (GetMainGameViewTargetSize). Thanks for "help" :)
Title: Re: Zoom problem
Post by: r.pedra on July 25, 2016, 08:59:59 AM
What you are saying is not understandable. We can't help you if we don't understand.

Moreover there are no "Hello" or "Thanks for your help in advance".
You say that when you click on screen, controls (??????) zoom in, but what do you mean by zoom in? And what do you call controls? Do you mean Widgets?

Don't act as a *******bag and ask a real and clear question with correct language.
Title: Re: Zoom problem
Post by: smokas on July 25, 2016, 09:32:35 AM
Have you ever used a loupe? :)

Zoom in - visually grow up, became large, magnified.
Control - widget, UI element.

On click - when mouse button is pressed and released.

Doesn't matter, I found issue - placed logger in code - somehow Unity manages to drop screen width and height values when mouse is clicked.