摘要: if( transform.position.x > -15 && transform.rotation.y == 0 ) { //小鸟X轴反方向移动速度 transform.position += new Vector3(-0.1f,0,0); } else { //小鸟Y轴旋转,相当于人的转身 阅读全文
posted @ 2017-05-18 21:08 孔琳桂 阅读(902) 评论(1) 推荐(0) 编辑