摘要: 废话没有,直接上代码: 1 using UnityEngine; 2 using System.Collections; 3 4 public class SuperWalk : MonoBehaviour { 5 6 public float speed = 10.0f;//移动速度 7 public float jumpSpeed = 8.0f;//跳跃速度 8 public float gravity = 20.0f;//重力 9 10 private Vector3 moveDirection = Vector3.zero;//移动方向11 ... 阅读全文
posted @ 2013-12-09 20:17 李亚杰 阅读(1075) 评论(0) 推荐(0) 编辑