unity3d学习笔记(1)控制摄像机的WASD移动和视野缩放
public class Camera : MonoBehaviour { public float speed = 1f; public float speed1 = 1f; void Update () { float h = Input.GetAxis("Horizontal"); float v = Input.GetAxis("Vertical"); float mouse = Input.GetAxis("Mouse Scr
原创
2020-10-15 09:12:03 ·
1387 阅读 ·
0 评论