using asap.core; using GameCore; using System; using System.Collections; using UniRx; using UnityEngine; using UnityEngine.UI; public class DownLoadPopupPanel : MonoBehaviour { Animator ani; Button btn_close; ILoadResourceService loadResourceService; Image bar; GameObject bg_bar; public Action OnConfrim; public Action OnCloseClick; IDisposable load; float progress = 0; GameObject root; public int showTime = 3; private void Awake() { root = transform.Find("root").gameObject; ani = GetComponent(); ani.Play("popup_common_in", 0, 0); ani.speed = 0; root.SetActive(false); loadResourceService = GContext.container.Resolve(); btn_close = transform.Find("root/btn_close").GetComponent