Author Topic: Zoom problem  (Read 2138 times)

smokas

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Zoom problem
« 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Zoom problem
« Reply #1 on: July 24, 2016, 06:43:36 AM »
I don't know what you mean.

smokas

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: Zoom problem
« Reply #2 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" :)
« Last Edit: July 24, 2016, 10:53:30 AM by smokas »

r.pedra

  • Full Member
  • ***
  • Thank You
  • -Given: 7
  • -Receive: 20
  • Posts: 131
    • View Profile
Re: Zoom problem
« Reply #3 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.

smokas

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: Zoom problem
« Reply #4 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.