2019-04-15 18:50发布 生成海报
//base64位字符串数据转换texture2d
private Texture2D Base64ToTexter2d(string Base64STR) { Texture2D pic = new Texture2D(200,200); byte[] data = System.Convert.FromBase64String (Base64STR); pic.LoadImage(data); return pic; }