2019年1月22日
摘要: 使用 Mathf.Clamp(vlaue,min,max); 来限制模型的移动边界 float tempY = 0f; tempY=Mathf.Clamp(transform.position.y,-140,140); transform.position=new Vector3(transform 阅读全文
posted @ 2019-01-22 13:41 凌落成迷 阅读(1571) 评论(0) 推荐(0) 编辑