Exemple #1
0
    public void LoadImage(ImageObject image)
    {
        var io = GetImageByUrl(image.url);

        if (io != null)
        {
            return;
        }
        images.Add(image);
        if (gameObject.activeInHierarchy)
        {
            StartCoroutine(image.LoadImage(OnImageLoaded));
        }
    }