Beispiel #1
0
        public static Texture Alpha(this Texture texture)
        {
            Texture2D texture2D = (Texture2D)TextureUtils.ConvertToReadableTexture(texture);

            texture2D.Alpha2D();

            texture = texture2D;

            return(texture);
        }