【Unity】實現角色的移動、朝向以及攝像機跟隨

實現效果    一、角色移動和朝向code using UnityEngine; using System.Collections; public class Player : MonoBehaviour { public float moveSpeed = 0.01f; //角色移動速度 private float h; private float v;
相關文章
相關標籤/搜索