public void StartDownloadGame(string url, Action succeed = null, Action fail = null, Action <int> progress = null, string saveName = null) { onActionSucceed = succeed; onActionFailed = fail; onActionProgressValueChange = progress; channel.DownloadGame(url, saveName); }
public void StartDownLoadGame(string url, Action succeed = null, Action fail = null, Action <int> progress = null, string saveName = null) { downLoadGameSucceed = succeed; downLoadGameFail = fail; downLoadGameProgress = progress; channel.DownloadGame(url, saveName); }