2013年8月24日

unity3d ngui dragableCamera 与scrollbar

摘要: ngui 拖动物体的第二个例子里没有和scrollbar自己写了一个using UnityEngine;using System.Collections;public class ScrollBar : MonoBehaviour { public UIScrollBar sb; pub... 阅读全文

posted @ 2013-08-24 16:33 千手人屠 阅读(2091) 评论(0) 推荐(0)

unity 相机分屏

摘要: Camera 有两个参数 控制 分屏rect,depthrectWhere on the screen is the camera rendered in normalized coordinates.The values inrectrange from zero (left/bottom) to one (right/top).控制camera 在屏幕上的显示区域(0,0,1,1) 就是默认的全屏depthDescriptionCamera's depth in the camera rendering order.Cameras with lower depth are rend 阅读全文

posted @ 2013-08-24 16:11 千手人屠 阅读(1122) 评论(0) 推荐(0)

导航