Author Topic: Hotkeys  (Read 3566 times)

d3mi3n

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Hotkeys
« on: April 13, 2014, 12:05:28 AM »
Is there a complete list of NGUI hotkeys?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Hotkeys
« Reply #1 on: April 13, 2014, 01:03:52 AM »
Open the NGUI menu up top. They're all in the Selection and Create sub-menus.

d3mi3n

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: Hotkeys
« Reply #2 on: April 13, 2014, 02:14:55 AM »
ahh ok. I was actually hoping that other things (like Open Atlas Maker) have hotkeys.

Thank you for the quick response.

Nicki

  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 33
  • -Receive: 141
  • Posts: 1,768
    • View Profile
Re: Hotkeys
« Reply #3 on: April 13, 2014, 06:19:27 PM »
atlas marker used to have alt+shift+m, but it was removed. You can add it again, if you desire it (I tend to).

See the NGUIMenu.cs file where it says
  1. [MenuItem("NGUI/Open/Atlas Maker", false, 9)]
  2. [MenuItem("Assets/NGUI/Open Atlas Maker", false, 0)]


and add "&#m" after it says "Maker.

  1. [MenuItem("NGUI/Open/Atlas Maker &#m", false, 9)]


The problem is that these shortcuts are global, so when other plugins or unity itself wants to use a certain shortcut, you might get confused as to which function, if not all of them, get called.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Hotkeys
« Reply #4 on: April 14, 2014, 03:09:44 AM »
It didn't make much sense to keep that shortcut as in most cases you will just end up docking that window anyway.