Unity 鍵盤WASD 實現物體移動

1首先在場景中創建一個Capsule,將主攝像機拖到其物體下。code 2.將腳本掛在Capsule物體下,WASD 控制移動方向,空格延Y軸向上移動,F延Y軸向下移動orm using System.Collections; using System.Collections.Generic; using UnityEngine; public class MoveCam : MonoBehav
相關文章
相關標籤/搜索