摘要: 在每个需要排序的物体上放入GridTag 脚本 其中GridTag脚本用于提供此物体的深度 Sorting 通过GridTag 和 其中的深度值 排序 阅读全文
posted @ 2016-04-04 23:11 1A7487 阅读(151136) 评论(0) 推荐(0)
摘要: 1 /// 2 /// 在鼠标位置不同时 图片浮动效果 3 /// 4 public class TiltWindow : MonoBehaviour 5 { 6 public Vector2 range = new Vector2(5f, 3f); 7 8 Transform mTrans; 9 Quaternion mStart; 10 ... 阅读全文
posted @ 2016-04-04 23:03 1A7487 阅读(723) 评论(0) 推荐(0)
摘要: public class Divisor { private static Divisor instance; public static Divisor Instance { get {if(instance == null) instance = new Divisor(); return inst... 阅读全文
posted @ 2016-04-04 23:01 1A7487 阅读(396) 评论(0) 推荐(0)