public static Texture Brightness(this Texture texture, float brightnessValue) { Texture2D texture2D = (Texture2D)TextureUtils.ConvertToReadableTexture(texture); texture2D.Brightness2D(brightnessValue); texture = texture2D; return(texture); }