1. 首页
  2. 课程学习
  3. 游戏开发
  4. Unity3D小地图DEMO

Unity3D小地图DEMO

上传者: 2019-02-21 04:10:44上传 RAR文件 913.33KB 热度 38次
var speed = 6.0; var jumpSpeed = 8.0; var gravity = 20.0; private var moveDirection = Vector3.zero; private var grounded : boolean = false; function FixedUpdate() { if (grounded) { // We are grounded, so recalculate movedirection directly from axes moveDirection = new Vector3(Input.GetAxis("H
用户评论