上一页 1 ··· 5 6 7 8 9
摘要: 值 对应键 Backspace 退格键 Delete Delete键 Tab TabTab键 Clear Clear键 Return 回车键 Pause 暂停键 Escape ESC键 Space 空格键 Keypad0 小键盘0 Keypad1 小键盘1 Keypad2 小键盘2 Keypad3 阅读全文
posted @ 2017-02-23 17:34 游戏鼻祖 阅读(3087) 评论(0) 推荐(0) 编辑
摘要: 实验内容: 写一个注册窗口,然后在另一个窗体中显示注册内容。 先写个注册窗体:7个lable,5个textbox,1个combobox,1个picturebox,3个button和1个openfiledialog 按下图进行摆放 Form1.cs 代码如下: using System;using S 阅读全文
posted @ 2016-11-17 13:40 游戏鼻祖 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 手游退出时按下的返回键与键盘上的Esc键相同. 一般情况下手游都是按两下返回键才退出游戏所以,需要用到协成. 下面是代码: if(Input .GetKeyDown(KeyCode.Escape)) { if (exitMessage == null) { exitMessage = Instant 阅读全文
posted @ 2016-11-16 18:35 游戏鼻祖 阅读(695) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9