随笔分类 -  Unity

Unity
Unity3D 物体按键WASD转头并移动
摘要:// 按W键,向上移动 if (Input.GetKey(KeyCode.W)) { Vector3 e_rot = transform.eulerAngles; e_rot.x = -90; e_rot.y = 0; e_rot.z = 0; ... 阅读全文
posted @ 2017-12-04 22:55 雨悟极 阅读(7811) 评论(0) 推荐(0)