Exemple #1
0
 // Update is called once per frame
 void Update()
 {
     if (continuouslyResize)
     {
         STools.GetCentredSubImage(image);
     }
 }
Exemple #2
0
    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);
    }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     STools.GetCentredSubImage(image);
 }