摘要: 1.新建2个Sphere的GameObject,分别命名为Earth,Sun,顺便给个direct light也行。材质,贴图个人喜好了。2.新建个脚本,并绑定至其中一个GameObject。内容如下:using UnityEngine;namespace Assets.script{ public class EarthCtrl : MonoBehaviour { private GameObject _earth; private GameObject _sun; private GameObject _mycamera; ... 阅读全文
posted @ 2013-09-03 13:33 eyotata 阅读(614) 评论(0) 推荐(0) 编辑