void Start() { m_eventManager.Subscribe(DownloadStartEventArgs.EventId, OnDownloadStart); m_eventManager.Subscribe(DownloadSuccessEventArgs.EventId, OnDownloadSuccess); m_eventManager.Subscribe(DownloadUpdateEventArgs.EventId, OnDownUpdate); m_eventManager.Subscribe(DownloadFailureEventArgs.EventId, OnDownFailure); m_downloadManager.AddDownloadTask(Application.dataPath + "/SimpleGameFramework/Test/Download/Test.jpg", "https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1527358407150&di=c0da7d605f3d44bca1314bd9c918da1c&imgtype=0&src=http%3A%2F%2Fimg.zcool.cn%2Fcommunity%2F038c0ee5744f9a500000025ae5acd2a.jpg"); }