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