Author Topic: Update 2.5.0c - New Placement Handles  (Read 9716 times)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #15 on: April 05, 2013, 11:07:08 PM »
@gekido: I have a feeling our "usabilities" are completely different. I use a mouse. Middle mouse button to pan around. I never even use the right mouse button (as using it rotates the camera, which is not what I want to do, even by accident, when creating a usually flat 2D UI). If you don't like the functionality, then don't use it. Open up UIWidgetInspector, go to line 178 (function OnSceneGUI), and just comment it out. There you go. NGUI comes in source code form for a reason.

@laurentl: Drag from corners. Also, by "uniform" I mean X and Y remain equal.

gekido

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #16 on: April 05, 2013, 11:24:41 PM »
@arenmook - very likely - i tend to not use the middle mouse in the editor at all - i'm the opposite - I like rotating the camera around in scene mode quite a bit while working on even 2D UI's, as it gives me a better sense of widget / panel ordering and depth.  the game view is where I see the 'proper' UI layout as it is intended to be viewed, and it's the only one that you can really trust to be valid while designing.

I fully realize that there is source code for NGUI, but I also like to keep the libraries that I'm using as 'untouched' as possible to allow for easy updating going forward.  Would prefer to not have to manage a fork (however small), so I guess I'll probably just 'deal' with it ;}

Cheers
Mike

sisso

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 46
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #17 on: April 08, 2013, 08:13:14 AM »
I would like to say that I was in same situation that @gekido, I had delayed to upgrade until I found this thread. Get rid of "OnSceneGUI" works fine for me.

I understand that is not the usual, but is a unity3d behavior and for some of us that got habituated to use this become very annoying. I think that could be nice to have this info more explicity, like a configuration, or the workaround available in release notes or in the faq.

By the way, it is a great tool, thanks.



Unity3d edtor reference
http://docs.unity3d.com/Documentation/Manual/SceneView40.html
« Last Edit: April 08, 2013, 11:45:32 AM by sisso »

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #18 on: April 08, 2013, 03:09:21 PM »
I've made it optional in the next version. You can toggle it on/off from the NGUI menu.

soulis6

  • Guest
Re: Update 2.5.0c - New Placement Handles
« Reply #19 on: April 08, 2013, 07:49:41 PM »
Shift doesn't scale uniformly for me, in the build released 2 days ago.

Same with me, which honestly makes Labels a pain to scale, because if they're pivoted to anything but the middle-center, there's no way to uniformly scale them, instead it uses the widget handles to scale it one direction or another.

Overall I think the new handle gizmos are great for sliced sprites and the like, a lot faster than scaling and repositioning, so I love that, but not so great for labels or sprites that need to specific dimensions. Sometimes the green 'scale' handles on the sides get in the way of the default Unity axis handles, which can be a little frustrating, when you're trying to move something along just one axis for example, and it scales it instead. That's happened to me a lot so far.

I never use RMB to rotate the camera, so I have no complaint on that end. And the above suggested fix worked to solve my RMB+Zoom issue, which was the big one for me.

I wonder if it's possible to only have the new green selection gizmo show up when you have the pan tool (Q shortcut) selected? You never interact with objects normally with that selected, so it wouldn't get in the way of any of the default unity behavior, and would fix the problems I've had with it, and from the sounds it  some other people's as well.

dimwalker

  • Guest
Re: Update 2.5.0c - New Placement Handles
« Reply #20 on: May 17, 2013, 06:02:09 AM »
I've made it optional in the next version. You can toggle it on/off from the NGUI menu.
Can you explain this in more details please? I can't see anything related to scale in NGUI menu for some reason.
Hmmm, maybe I have older version... BTW that bothered me for some time now - how can I check which version of NGUI do I have?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #21 on: May 17, 2013, 06:04:55 AM »
Open the readme.txt file.

gekido

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 18
    • View Profile
Re: Update 2.5.0c - New Placement Handles
« Reply #22 on: May 27, 2013, 02:11:32 AM »
Quote
"made optional in latest version"

awesome, thanx alot ArenMook, NGUI is one of the few unity add-ons that I've been able to trust to 'just work' if I keep it up to date without any major issues - was scared to update just now (saw 2.6.1 was out) but you've once again come through in spades!  keep up the awesome work!