摘要: 制作小地图首先需要两个贴图:第一个贴图是小地图的背景贴图,它应当是从y轴向下俯视截取的贴图;第二个贴图是主角位置贴图,它应当是在背景贴图之上的小型矩形。 1 using UnityEngine; 2 using System.Collections; 3 4 public class smallMap : MonoBehaviour { 5 // Use this for initialization 6 GameObject plane; //大地图地形对象 7 GameObject cube; //大地图主角对象 8 float mapWidth... 阅读全文
posted @ 2013-08-12 10:03 LOSER Z 阅读(2409) 评论(3) 推荐(0) 编辑