📅  最后修改于: 2022-03-11 14:48:38.291000             🧑  作者: Mango
代码示例1
float scroll = Input.GetAxis ("Mouse ScrollWheel");
transform.LookAt (target);
transform.Translate(0, 0, scroll * speed, Space.Self);