//base64位字符串数据转换texture2d
private Texture2D Base64ToTexter2d(string Base64STR)
{
Texture2D pic = new Texture2D(200,200);
byte[] data = System.Convert.FromBase64String (Base64STR);
pic.LoadImage(data);
return pic;
}
//base64位字符串数据转换texture2d
private Texture2D Base64ToTexter2d(string Base64STR)
{
Texture2D pic = new Texture2D(200,200);
byte[] data = System.Convert.FromBase64String (Base64STR);
pic.LoadImage(data);
return pic;
}