// Update is called once per frame void Update() { if (continuouslyResize) { STools.GetCentredSubImage(image); } }
public void AfterDownload(Texture2D newTex) { image = newTex; //set SetTexture(imageObj, image); //image url needs to be set first DealWithImage(image, data["image"]); STools.GetCentredSubImage(rawImage); }
// Use this for initialization void Start() { STools.GetCentredSubImage(image); }