private IEnumerator DoLoad()
    {
        if (onLoadStart != null)
        {
            onLoadStart();
        }
        LoadingQueue load_queue = new LoadingQueue(this);
        LoadObject   lo_image   = load_queue.Load(RESOURCE_CATEGORY.QUEST_LOCATION_IMAGE, ResourceName.GetQuestLocationImage(id), false);

        if (load_queue.IsLoading())
        {
            yield return((object)load_queue.Wait());
        }
        image = ResourceUtility.Realizes(lo_image.loadedObject, MonoBehaviourSingleton <StageManager> .I._transform, 5);
        QuestLocationImage c = image.GetComponent <QuestLocationImage>();

        if (!(c == null))
        {
            int w = uiTexture.width;
            int h = uiTexture.height;
            UIRenderTexture.ToRealSize(ref w, ref h);
            c.Init(w, h);
            Camera cam = image.GetComponent <Camera>();
            if (!(cam == null))
            {
                RenderTexture tex = cam.get_targetTexture();
                if (!(tex == null))
                {
                    uiTexture.mainTexture = tex;
                    FloatInterpolator anim = new FloatInterpolator();
                    anim.Set(0.25f, 0f, 1f, Curves.easeLinear, 0f, null);
                    anim.Play();
                    while (anim.IsPlaying())
                    {
                        yield return((object)null);

                        uiTexture.alpha = anim.Update();
                    }
                    if (onLoadComplete != null)
                    {
                        onLoadComplete();
                    }
                    coroutine = null;
                }
            }
        }
    }