【Unity3D】 KeyCode 键码
Key codes returned by Event.keyCode. These map directly to a physical key on the keyboard.
KeyCode是由Event.keyCode返回的。
这些直接映射到键盘上的物理键。
Values值
- NoneNot assigned (never is pressed)
未分配(永不被按下)。 - BackspaceThe backspace key //退格键。
- DeleteThe forward delete key //正向删除键。
- TabThe tab key //制表键。
- ClearThe Clear key //清除键。
- ReturnReturn key //回车键。
- PausePause on PC machines //PC上的暂停键。
- EscapeEscape key //退出键。
- SpaceSpace key //空格键。
- Keypad0Numeric keypad 0 //数字小键盘0。
- Keypad1Numeric keypad 1 //数字小键盘1。
- Keypad2Numeric keypad 2 //数字小键盘2。
- Keypad3Numeric keypad 3 //数字小键盘3。
- Keypad4Numeric keypad 4 //数字小键盘4。
- Keypad5Numeric keypad 5 //数字小键盘5。
- Keypad6Numeric keypad 6 //数字小键盘6。
- Keypad7Numeric keypad 7 //数字小键盘7。
- Keypad8Numeric keypad 8 //数字小键盘8。
- Keypad9Numeric keypad 9 //数字小键盘9。
- KeypadPeriodNumeric keypad '.' // 数字小键盘的句点'.'。
- KeypadDivideNumeric keypad '/' // 数字小键盘的除号'/'。
- KeypadMultiplyNumeric keypad '*' //数字小键盘的乘号 '*'。
- KeypadMinusNumeric keypad '-' //数字小键盘的减号 '-'。
- KeypadPlusNumeric keypad '+' //数字小键盘的加号 '+'。
- KeypadEnterNumeric keypad enter //数字小键盘的回车键。
- KeypadEqualsNumeric keypad '=' //数字小键盘的等号键'='。
- UpArrowUp arrow key //上箭头键。
- DownArrowDown arrow key //下箭头键。
- RightArrowRight arrow key //右箭头键。
- LeftArrowLeft arrow key //左箭头键。
- InsertInsert key key //插入键。
- HomeHome key //起始键。
- EndEnd key //结束键。
- PageUpPage up //上页。
- PageDownPage down //下页。
- F1F1 function key //F1功能键。
- F2F2 function key //F2功能键。
- F3F3 function key //F3功能键。
- F4F4 function key //F4功能键。
- F5F5 function key //F5功能键。
- F6F6 function key //F6功能键。
- F7F7 function key //F7功能键。
- F8F8 function key //F8功能键。
- F9F9 function key //F9功能键。
- F10F10 function key //F10功能键。
- F11F11 function key //F11功能键。
- F12F12 function key //F12功能键。
- F13F13 function key //F13功能键。
- F14F14 function key //F14功能键。
- F15F15 function key //F15功能键。
- Alpha0The '0' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'0'。 - Alpha1The '1' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'1'。 - Alpha2The '2' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'2'。 - Alpha3The '3' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'3'。 - Alpha4The '4' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'4'。 - Alpha5The '5' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'5'。 - Alpha6The '6' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'6'。 - Alpha7The '7' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'7'。 - Alpha8The '8' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'8'。 - Alpha9The '9' key on the top of the alphanumeric keyboard.
键盘顶部的数字键'9'。 - ExclaimExplaim key //感叹号键'!'。
- DoubleQuoteDouble quote key //双引號键。
- HashHash key //哈希键。
- DollarDollar sign key //美元符号键。
- AmpersandAmpersand key //和, &(and 的符号)键。
- QuoteQuote key //单引號键。
- LeftParenLeft Parent key //左括号键。
- RightParenRight Parent key //右括号键。
- AsteriskAsterisk key //星号键 * 。
- PlusPlus key //加号键 + 。
- CommaComma ',' key //逗号键 , 。
- MinusMinus '-' key //减号键 - 。
- PeriodPeriod '.' key //句号键 . 。
- SlashSlash '/' key //斜杠键 / 。
- ColonColon ':' key //冒号键 : 。
- SemicolonSemicolon ';' key //分号键 ; 。
- LessLess '<' key //小于号键 < 。
- EqualsEquals '=' key //等于号键 = 。
- GreaterGreater '>' key //大于号键 > 。
- QuestionQuestion mark '?' key //问号键 ? 。
- AtAt key //@符号键。
- LeftBracketLeft bracket key //左方括号键 [ 。
- BackslashBackslash key //反斜杠键 \ 。
- RightBracketRight bracket key //右方括号键 ] 。
- CaretCaret key //脱字符键 ^ 。
- UnderscoreUnderscore '_' key //下划线键 _ 。
- BackQuoteBack quote key //反引號键 。
- A'a' key // a键
- B'b' key // b键
- C'c' key // c键
- D'd' key // d键
- E'e' key // e键
- F'f' key // f键
- G'g' key // g键
- H'h' key // h键
- I'i' key // i键
- J'j' key // j键
- K'k' key // k键
- L'l' key // l键
- M'm' key // m键
- N'n' key // n键
- O'o' key // o键
- P'p' key // p键
- Q'q' key // q键
- R'r' key // r键
- S's' key // s键
- T't' key // t键
- U'u' key // u键
- V'v' key // v键
- W'w' key // w键
- X'x' key // x键
- Y'y' key // y键
- Z'z' key // z键
- NumlockNumlock key //数字锁定键 。
- CapsLockCapslock key //大写锁定键 。
- ScrollLockScroll lock key //滚动锁定键 。
- RightShiftRight shift key //右上档键。
- LeftShiftLeft shift key //左上档键。
- RightControlRight Control key //右控制键。
- LeftControlLeft Control key //左控制键。
- RightAltRight Alt key //右更改键。
- LeftAltLeft Alt key //左更改键。
- LeftAppleLeft Apple key //左苹果键。
- LeftWindowsLeft Windows key //左Windows键。
- RightAppleRight Apple key //右苹果键。
- RightWindowsRight Windows key //右Windows键。
- AltGrAlt Gr key //右側更改键。
- HelpHelp key //帮助键。
- PrintPrint key //打印键。
- SysReqSys Req key //系统请求键。
- BreakBreak key //中断键。
- MenuMenu key //菜单键。
- Mouse0First (primary) mouse button
第一个(主)鼠标键(鼠标左键)。 - Mouse1Second (secondary) mouse button
第二个(次)鼠标键(鼠标右键)。 - Mouse2Third mouse button //第三个鼠标键(鼠标中键)。
- Mouse3Fourth mouse button //第四个鼠标键
- Mouse4Fifth mouse button //第五个鼠标键。
- Mouse5Sixth mouse button //第六个鼠标键。
- Mouse6Seventh mouse button //第七个鼠标键。
- JoystickButton0Button 0 on any joystick //手柄按键0。
- JoystickButton1Button 1 on any joystick //手柄按键1。
- JoystickButton2Button 2 on any joystick //手柄按键2。
- JoystickButton3Button 3 on any joystick //手柄按键3。
- JoystickButton4Button 4 on any joystick //手柄按键4。
- JoystickButton5Button 5 on any joystick //手柄按键5。
- JoystickButton6Button 6 on any joystick //手柄按键6。
- JoystickButton7Button 7 on any joystick //手柄按键7。
- JoystickButton8Button 8 on any joystick //手柄按键8。
- JoystickButton9Button 9 on any joystick //手柄按键9。
- JoystickButton10Button 10 on any joystick //手柄按键10。
- JoystickButton11Button 11 on any joystick //手柄按键11。
- JoystickButton12Button 12 on any joystick //手柄按键12。
- JoystickButton13Button 13 on any joystick //手柄按键13。
- JoystickButton14Button 14 on any joystick //手柄按键14。
- JoystickButton15Button 15 on any joystick //手柄按键15。
- JoystickButton16Button 16 on any joystick //手柄按键16。
- JoystickButton17Button 17 on any joystick //手柄按键17。
- JoystickButton18Button 18 on any joystick //手柄按键18。
- JoystickButton19Button 19 on any joystick //手柄按键19。
- Joystick1Button0Button 0 on first joystick //第一个手柄按键0。
- Joystick1Button1Button 1 on first joystick //第一个手柄按键1。
- Joystick1Button2Button 2 on first joystick //第一个手柄按键2。
- Joystick1Button3Button 3 on first joystick //第一个手柄按键3。
- Joystick1Button4Button 4 on first joystick //第一个手柄按键4。
- Joystick1Button5Button 5 on first joystick //第一个手柄按键5。
- Joystick1Button6Button 6 on first joystick //第一个手柄按键6。
- Joystick1Button7Button 7 on first joystick //第一个手柄按键7。
- Joystick1Button8Button 8 on first joystick //第一个手柄按键8。
- Joystick1Button9Button 9 on first joystick //第一个手柄按键9。
- Joystick1Button10Button 10 on first joystick //第一个手柄按键10。
- Joystick1Button11Button 11 on first joystick //第一个手柄按键11。
- Joystick1Button12Button 12 on first joystick //第一个手柄按键12。
- Joystick1Button13Button 13 on first joystick //第一个手柄按键13。
- Joystick1Button14Button 14 on first joystick //第一个手柄按键14。
- Joystick1Button15Button 15 on first joystick //第一个手柄按键15。
- Joystick1Button16Button 16 on first joystick //第一个手柄按键16。
- Joystick1Button17Button 17 on first joystick //第一个手柄按键17。
- Joystick1Button18Button 18 on first joystick //第一个手柄按键18。
- Joystick1Button19Button 19 on first joystick //第一个手柄按键19。
- Joystick2Button0Button 0 on second joystick //第二个手柄按键0。
- Joystick2Button1Button 1 on second joystick //第二个手柄按键1。
- Joystick2Button2Button 2 on second joystick //第二个手柄按键2。
- Joystick2Button3Button 3 on second joystick //第二个手柄按键3。
- Joystick2Button4Button 4 on second joystick //第二个手柄按键4。
- Joystick2Button5Button 5 on second joystick //第二个手柄按键5。
- Joystick2Button6Button 6 on second joystick //第二个手柄按键6。
- Joystick2Button7Button 7 on second joystick //第二个手柄按键7。
- Joystick2Button8Button 8 on second joystick //第二个手柄按键8。
- Joystick2Button9Button 9 on second joystick //第二个手柄按键9。
- Joystick2Button10Button 10 on second joystick //第二个手柄按键10。
- Joystick2Button11Button 11 on second joystick //第二个手柄按键11。
- Joystick2Button12Button 12 on second joystick //第二个手柄按键12。
- Joystick2Button13Button 13 on second joystick //第二个手柄按键13。
- Joystick2Button14Button 14 on second joystick //第二个手柄按键14。
- Joystick2Button15Button 15 on second joystick //第二个手柄按键15。
- Joystick2Button16Button 16 on second joystick //第二个手柄按键16。
- Joystick2Button17Button 17 on second joystick //第二个手柄按键17。
- Joystick2Button18Button 18 on second joystick //第二个手柄按键18。
- Joystick2Button19Button 19 on second joystick //第二个手柄按键19。
- Joystick3Button0Button 0 on third joystick //第三个手柄按键0。
- Joystick3Button1Button 1 on third joystick //第三个手柄按键1。
- Joystick3Button2Button 2 on third joystick //第三个手柄按键2。
- Joystick3Button3Button 3 on third joystick //第三个手柄按键3。
- Joystick3Button4Button 4 on third joystick //第三个手柄按键4。
- Joystick3Button5Button 5 on third joystick //第三个手柄按键5。
- Joystick3Button6Button 6 on third joystick //第三个手柄按键6。
- Joystick3Button7Button 7 on third joystick //第三个手柄按键7。
- Joystick3Button8Button 8 on third joystick //第三个手柄按键8。
- Joystick3Button9Button 9 on third joystick //第三个手柄按键9。
- Joystick3Button10Button 10 on third joystick //第三个手柄按键10。
- Joystick3Button11Button 11 on third joystick //第三个手柄按键11。
- Joystick3Button12Button 12 on third joystick //第三个手柄按键12。
- Joystick3Button13Button 13 on third joystick //第三个手柄按键13。
- Joystick3Button14Button 14 on third joystick //第三个手柄按键14。
- Joystick3Button15Button 15 on third joystick //第三个手柄按键15。
- Joystick3Button16Button 16 on third joystick //第三个手柄按键16。
- Joystick3Button17Button 17 on third joystick //第三个手柄按键17。
- Joystick3Button18Button 18 on third joystick //第三个手柄按键18。
- Joystick3Button19Button 19 on third joystick //第三个手柄按键19。
【Unity3D】 KeyCode 键码相关推荐
- 【Unity3D—C#】按下任意按键,返回按键的名称 以及 KeyCode键码详解
在OnGUI() 函数内使用事件Event方法,可返回按键KeyCode.按一次键会显示两次相同值. void OnGUI() { Event e = Even ...
- keyCode键码值对照表
文章目录 keyCode键码值对照表 键码值对照表 - 表1 : 键码值对照表 - 表2 : 具体 代码示例: keyCode键码值对照表 引言: 随着现在互联网时代的井喷式发展,程序员疲于满足用户需 ...
- html 用event.keycode控制只能输入小写字母,event.keyCode键码值表 附只能输入特定的字符串代码...
event.keyCode键码值表 附只能输入特定的字符串代码 复制代码 代码如下: function onlyNum() { if(!(event.keyCode==46)&&!(e ...
- unity【KeyCode 键码】查询表
Key codes returned by Event.keyCode. These map directly to a physical key on the keyboard. KeyCode是由 ...
- 小功能⭐️unity3d KeyCode各键值说明
文章目录 提示:Ctrl+F可在网页查找文字 KeyCode :KeyCode是由Event.keyCode返回的.这些直接映射到键盘上的物理键. 值 对应键 Backspace 退格键 Delete ...
- 网站实现点击 “加入收藏 ”功能 - 代码篇
网站实现点击 "加入收藏 "功能,如何实现? 案例 · 截图示下: 用户场景:网站实现点击 "加入收藏 "功能. 思路方法: 通过click键盘点击事件,完成组 ...
- javascript监听键盘事件 - 如表单enter回车提交
javascript监听键盘点击时间,比如:enter回车表单提交.禁止F5刷新.禁用鼠标右键等等 本文仅简单做个介绍,权当抛砖引玉了:如果朋友们有更好的建议或者意见,欢迎留言评论. 代码如下: &l ...
- java keydown_键盘事件keydown、keypress、keyup随笔整理总结
英文输入法: 事件触发顺序:keydown - > keypress - > keyup 中文输入法: firfox:输入触发keydown,回车确认输入触发keyup chrome:输入 ...
- 前端知识-JavaScript事件驱动特性
事件驱动3特征 绑定事件 ele.addEventListener('click',function(){});//IE9级以上 ele.attachEvent('on'click',function ...
最新文章
- 光电耦合NEC2051 的输入输出特性
- 十佳运动员有奖评选系统_2019年度国际足坛十佳运动员,利物浦三星在列,第十名属私心...
- 最新建账年(over partition by)的研究
- 接软件开发项目,你需要知道这些!
- Visual Studio上开发Python?你不可不知道的六大功能!
- 使用 Win 7 必须知道的快捷键
- 萌妹子语音在线吹彩虹屁陪你写代码!一个神奇的 VSCode 插件
- CIO感悟:IT人转型之“势、道、术”
- 对话苹果公司的一号员工Bill Fernandez
- L2-001. 紧急救援(迪杰斯特拉算法)
- Atitit springboot mybatis spring 集成 Springboot1.4 mybatis3.4.6 /springbootMybatis 目录 1.1. 设置map
- 三步教会你在solidworks中画铝型材
- Minecraft 材质包制作入门 保姆级教程 (一)
- Flutter 正在被悄悄放弃吗?
- 手把手教你SSM整合开发办公系统(OA)——报销单(含源码)
- 盛元广通医院实验室设备预约管理系统
- 【程序人生】互联网岗位分工;互联网开发流程;职责分工
- 什么是进程、进程的概念?
- 网页中多个图标在一张图片上,使用css将各图标显示
- aise TypeError(f“{method_name}: `{super_param.name}` must be present“)
热门文章
- 3.Git的基本操作
- 人群密度估计--Learning a perspective-embedded deconvolution network for crowd counting
- zookeeper都有哪些使用场景
- 智能应答系统php源码,佳蓝智能应答系统 php版下载|佳蓝智能应答系统 php版官方下载-太平洋下载中心...
- mysql高级操作_mysql数据库表的高级操作
- foreign 磁盘阵列_服务器磁盘 foreign
- LocalDateTime、OffsetDateTime、ZonedDateTime互转,这一篇绝对喂饱你
- Spring Cloud Alibaba 统一门户:基于网关的统一用户认证方案
- css位置布局,CSS定位布局相关
- 用什么表示python异常_求大神给讲讲python的异常问题!以下是我的代码!没看出来有什么不同的呀?...