主要是移动脚本和2个技能的脚本编写. 首先是移动的脚本: using System.Collections; using System.Collections.Generic; using UnityEngine; public class playerMove : MonoBehaviour { public float rotateSpeed = 1f; public float moveSpeed = 0.08f; public Texture aimImage; //大键盘wsad控制人…