- 博客(2)
- 收藏
- 关注
原创 Unity 鼠标控制相机旋转移动
Unity 鼠标控制相机移动 一直白嫖,今天尝试写点东西吧,一小段代码,解决了相机旋转后再移动方向跟着变的问题,有不对的地方希望大佬们多多指教 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public class CameraMoveTest : MonoBehaviour { float moveH, moveV, viewNum
2021-04-01 19:23:23 961
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人