@@ -66,13 +66,26 @@ public class DownLoadItem : MonoBehaviour
{
downLoadState = "下载成功";
downLoadData = webRequest.downloadHandler.data;
- isDownLoad = true;
- // MsgHandler.AddListener("",)
+ isDownLoad = true;
+ MsgHandler.AddListener("", HandleMsg);
}
CallBacke(isDownLoad);
+ private void HandleMsg(Msg msg)
+ {
+ try
+
+ }
+ catch (System.Exception e)
+ // ErrorLogPanel.Instance.Show(" 返回生成素材出现错误 " + e.Message);
private void OnDestroy()
// 断开下载连接