コード例 #1
0
    public static Texture2D GetWebImage(string Url,Vector2 ExpectedSize)
    {
        if (!imageLUT.ContainsKey(Url))
        {
            imageLUT[Url] = new WebImageItem(Url,ExpectedSize);
        }

        return imageLUT[Url].Texture2d;
    }
コード例 #2
0
    public static Texture2D GetWebImage(string Url, Vector2 ExpectedSize)
    {
        if (!imageLUT.ContainsKey(Url))
        {
            imageLUT[Url] = new WebImageItem(Url, ExpectedSize);
        }

        return(imageLUT[Url].Texture2d);
    }