public void Edit() { RawTexture2D rawTexture = new RawTexture2D (image); //rawTexture.Grayscale (); rawTexture.Equalize (); this.GetComponent<RawImage> ().texture = rawTexture.ToTexture2D (); }
public void Edit() { RawTexture2D rawTexture = new RawTexture2D (image); //rawTexture.Grayscale (); rawTexture.Equalize (); this.GetComponent<RawImage> ().texture = rawTexture.ToTexture2D (); }