public void AddKeepAlivePackage(string package, bool startOpenImm = true) { for (int i = 0; i < m_keepAlivePackage.Count; i++) { if (m_keepAlivePackage[i] == package) { return; } } ResPackge pack = GetPackge(package); if (pack != null) { pack.m_isKeepAlive = true; m_keepAlivePackage.Add(package); if (!pack.IsDone() && startOpenImm) { mEntry.StartCoroutine(pack.TryDownload(false, false)); } } }