摘要: 1 //设置地图边界:1:创建一个类 Boundary(边界) 2 public class Boundary 3 { 4 public float xMin; 5 public float xMax; 6 public float zMin; 7 public float zMax; 8 ... 阅读全文
posted @ 2017-06-07 15:46 FXY博客 阅读(5942) 评论(0) 推荐(0) 编辑
摘要: 1 m_Rigidbody.rotation = Quaternion.Euler(0.0F,0.0F,m_Rigidbody.velocity.x*5f); 阅读全文
posted @ 2017-06-07 15:44 FXY博客 阅读(3132) 评论(0) 推荐(0) 编辑