Fork me on GitHub
摘要: if (Input.GetMouseButton(0)) { Bg.transform.position = Input.mousePosition; } Input.mousePosition是鼠标的位置。 GetMouseButton(0)鼠标左键处于按下状态 阅读全文
posted @ 2018-06-12 16:18 爱上游戏开发 阅读(305) 评论(0) 推荐(0) 编辑
 >>>转载请注明出处