对战房间下载逻辑完善
This commit is contained in:
1 parent
11b131b24a
commit
d876c20def
7 files changed
+64
-100
No files matched your search
@@ -216,11 +216,12 @@ public class GameRoomListController : PFUIPanel
|
||||
var downloadPanel = transform.Find("DownloadPanel").gameObject;
|
||||
if (!downLoadList.activeSelf && !downloadPanel.activeSelf)
|
||||
{
|
||||
var content = downLoadList.transform.Find("Viewport/Content");
|
||||
foreach (var item in Loom.DownLoadTaskList)
|
||||
{
|
||||
var content = downLoadList.transform.Find("Viewport/Content");
|
||||
var newtask = Instantiate(_downLoadTask, content);
|
||||
newtask.GetComponent<GameRoomDownloadTask>().Init(0, item.Key);
|
||||
newtask.GetComponent<GameRoomDownloadTask>().Init(0, item.Key, downloadPanel);
|
||||
downLoadList.SetActive(true);
|
||||
}
|
||||
}
|
||||
App.Model = "GameRoom";
|
||||
|
||||
Reference in new issue
Block a user