Commit 8be22438 authored by JiangWanZhi's avatar JiangWanZhi

关闭加载进度界面

parent 427f8ba3
...@@ -59,6 +59,7 @@ public class mainGameView : MonoBehaviour //大图的处理、具体的玩法 ...@@ -59,6 +59,7 @@ public class mainGameView : MonoBehaviour //大图的处理、具体的玩法
private ColorIndexTables nowSelectColors = null; private ColorIndexTables nowSelectColors = null;
public Transform MrgParent; public Transform MrgParent;
public Transform LoadingPanel;
public int SelectTextureIdx public int SelectTextureIdx
{ {
get { return selectTextureIdx; } get { return selectTextureIdx; }
...@@ -1724,6 +1725,8 @@ public class mainGameView : MonoBehaviour //大图的处理、具体的玩法 ...@@ -1724,6 +1725,8 @@ public class mainGameView : MonoBehaviour //大图的处理、具体的玩法
var jsondata = getdata(); var jsondata = getdata();
item.GetComponent<GameMgr>().Init(png, jpg, jsondata); item.GetComponent<GameMgr>().Init(png, jpg, jsondata);
CloseLoadingPanel();
} }
...@@ -1736,4 +1739,9 @@ public class mainGameView : MonoBehaviour //大图的处理、具体的玩法 ...@@ -1736,4 +1739,9 @@ public class mainGameView : MonoBehaviour //大图的处理、具体的玩法
readFs.Close(); readFs.Close();
return rjd; return rjd;
} }
private void CloseLoadingPanel()
{
LoadingPanel.gameObject.SetActive(false);
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment