摘要: int get() {}void set(int value) {}private int a;public int A{ get {return a;} set {a = value}}一个叫get的,不接受参数,返回一个定义好的类型。一个叫set的,接受一个定义好类型的参数,返回void。http://blog.csdn.net/bmzydream_007/article/details/4261402Public float A{ set { Debug.Log("Just boring!"); }}Public float A{ get... 阅读全文
posted @ 2013-11-05 22:07 古刹红罗 阅读(617) 评论(0) 推荐(0)
摘要: 摄像机做成SolidColorDepthOnly在RenderTexture上有问题 阅读全文
posted @ 2013-11-05 20:59 古刹红罗 阅读(214) 评论(0) 推荐(0)