WWW t_load = BundledAssets.GetBundledAsset ("sample.png");
Texture2D img
= new Texture2D
(2,
2); t_load.LoadImageIntoTexture (img);
var localGuiTexture =item.gameObject.GetComponent<UITexture>();
localGuiTexture
.material = new Material
(Shader
.Find("Unlit/Transparent Colored")); localGuiTexture.material.mainTexture = img;