示例#1
0
 public GrayAtlas(NGUIAtlas a)
 {
     this.src  = a;
     this.gray = a.Clone(src.spriteMaterial.shader.name);
     this.gray.spriteMaterial.SetFloat("_GreyStrength", 1);
     this.gray.name = a.name;
 }