摘要: 由于是在屏幕内跟随鼠标移动,我们知道,在屏幕上鼠标位置的Z坐标的值为0,所以我们要将物体的位置坐标Z赋值给鼠标的Z; 1 using UnityEngine; 2 using System.Collections; 3 4 public class Follow: MonoBehaviour { ... 阅读全文
posted @ 2014-06-20 15:21 江湖还在,人已不堪 阅读(6079) 评论(1) 推荐(0) 编辑