摘要: 给自己的垃圾独立游戏做了一个简单地背包系统,因为用了InputSystem,原来获取鼠标位置的方式不能用了,记录一下. 在原来的通用输入系统下,获取鼠标在屏幕上的位置只需要 1 Input.mousePosition 在使用InputSystem情况下,获取鼠标在屏幕的位置 using UnityE 阅读全文
posted @ 2021-08-14 12:06 SunshineMind 阅读(4313) 评论(0) 推荐(1)
摘要: 一、安装PyUserInput pip install PyUserInput 二、安装pywin32 pip install pywin32 三、安装PyHook3 1.安装swig ①下载SWIG http://www.swig.org/download.html ②解压到某个目录 ③将目录添加 阅读全文
posted @ 2021-02-24 01:00 SunshineMind 阅读(54) 评论(0) 推荐(0)