本页面概要介绍默认的 Unity 键盘快捷键。还可下载一份适用于 Windows 和 MacOSX 的 PDF 表格。如果命令的击键中出现 Ctrl/Cmd__,表示应在 Windows 上使用 Control__ 键,在 MacOSX 上使用 Command 键。
Mac 触控板还有许多用于导航 Scene 视图的快捷方式。请参阅 Scene 视图导航以了解与此相关的更多信息。
工具 | |
击键 | Command |
Q | Pan |
W | Move |
E | Rotate |
R | Scale |
T | Rect Tool |
Z | Pivot Mode toggle |
X | Pivot Rotation Toggle |
V | Vertex Snap |
CTRL/CMD+LMB | Snap |
游戏对象 | |
Ctrl/Cmd+Shift+N | New empty game object |
Alt+Shift+N | New empty child to selected game object |
Ctrl/Cmd+Alt+F | Move to view |
Ctrl/Cmd+Shift+F | Align with view |
Shift+F 或连按两次 F | Locks the scene view camera to the selected GameObject |
窗口 | |
Ctrl/Cmd+1 | Scene |
Ctrl/Cmd+2 | Game |
Ctrl/Cmd+3 | Inspector |
Ctrl/Cmd+4 | Hierarchy |
Ctrl/Cmd+5 | Project |
Ctrl/Cmd+6 | Animation |
Ctrl/Cmd+7 | Profiler |
Ctrl/Cmd+9 | Asset store |
Ctrl/Cmd+0 | Version Control |
Ctrl/Cmd+Shift+C | Console |
编辑 | |
Ctrl/Cmd+Z | Undo |
Ctrl+Y(仅限 Windows) | Redo |
Cmd+Shift+Z(仅限 Mac) | Redo |
Ctrl/Cmd+X | Cut |
Ctrl/Cmd+C | Copy |
Ctrl/Cmd+V | Paste |
Ctrl/Cmd+D | Duplicate |
Shift+Del | Delete |
F | Frame (centre) selection |
Ctrl/Cmd+F | Find |
Ctrl/Cmd+A | Select All |
Ctrl/Cmd+P | Play |
Ctrl/Cmd+Shift+P | Pause |
Ctrl/Cmd+Alt+P | Step |
选择 | |
Ctrl/Cmd+Shift+1 | Load Selection 1 |
Ctrl/Cmd+Shift+2 | Load Selection 2 |
Ctrl/Cmd+Shift+3 | Load Selection 3 |
Ctrl/Cmd+Shift+4 | Load Selection 4 |
Ctrl/Cmd+Shift+5 | Load Selection 5 |
Ctrl/Cmd+Shift+6 | Load Selection 6 |
Ctrl/Cmd+Shift+7 | Load Selection 7 |
Ctrl/Cmd+Shift+8 | Load Selection 8 |
Ctrl/Cmd+Shift+9 | Load Selection 9 |
Ctrl/Cmd+Alt+1 | Save Selection 1 |
Ctrl/Cmd+Alt+2 | Save Selection 2 |
Ctrl/Cmd+Alt+3 | Save Selection 3 |
Ctrl/Cmd+Alt+4 | Save Selection 4 |
Ctrl/Cmd+Alt+5 | Save Selection 5 |
Ctrl/Cmd+Alt+6 | Save Selection 6 |
Ctrl/Cmd+Alt+7 | Save Selection 7 |
Ctrl/Cmd+Alt+8 | Save Selection 8 |
Ctrl/Cmd+Alt+9 | Save Selection 9 |
资源 | |
Ctrl/Cmd+R | Refresh |
注意:以下动画热键仅适用于 Animation 窗口。
动画 | |
Shift+逗号 | First Keyframe |
Shift+K | Key Modified |
K | Key Selected |
Shift+句点 | Last Keyframe |
句点 | Next Frame |
Alt+句点 | Next Keyframe |
空格 | Play Animation |
逗号 | Previous Frame |
Alt+逗号 | Previous Keyframe |