摘要: 一、Unity的基本输入事件(最常用): 1 . 获得键盘 Input.GetKey(KeyCode.A) Input.GetKeyDown(KeyCode.A) Input.GetKeyUp(KeyCode.A) 2.获得鼠标信息 Input.mousePosition // 鼠标位置 Input 阅读全文
posted @ 2019-08-03 16:02 北特 阅读(1199) 评论(0) 推荐(1) 编辑