Commit 73c94b32 authored by mercury233's avatar mercury233

hide replay god mode and puzzle mode

parent cd2945bb
...@@ -18,7 +18,7 @@ public class Menu : WindowServantSP ...@@ -18,7 +18,7 @@ public class Menu : WindowServantSP
UIHelper.registEvent(gameObject, "deck_", onClickSelectDeck); UIHelper.registEvent(gameObject, "deck_", onClickSelectDeck);
UIHelper.registEvent(gameObject, "online_", onClickOnline); UIHelper.registEvent(gameObject, "online_", onClickOnline);
UIHelper.registEvent(gameObject, "replay_", onClickReplay); UIHelper.registEvent(gameObject, "replay_", onClickReplay);
UIHelper.registEvent(gameObject, "single_", onClickPizzle); //UIHelper.registEvent(gameObject, "single_", onClickPizzle);
//UIHelper.registEvent(gameObject, "ai_", onClickAI); //UIHelper.registEvent(gameObject, "ai_", onClickAI);
UIHelper.registEvent(gameObject, "exit_", onClickExit); UIHelper.registEvent(gameObject, "exit_", onClickExit);
//(new Thread(up)).Start(); //(new Thread(up)).Start();
......
...@@ -22,7 +22,7 @@ public class selectReplay : WindowServantSP ...@@ -22,7 +22,7 @@ public class selectReplay : WindowServantSP
UIHelper.registEvent(gameObject, "delete_", onDelete); UIHelper.registEvent(gameObject, "delete_", onDelete);
UIHelper.registEvent(gameObject, "yrp_", onYrp); UIHelper.registEvent(gameObject, "yrp_", onYrp);
UIHelper.registEvent(gameObject, "ydk_", onYdk); UIHelper.registEvent(gameObject, "ydk_", onYdk);
UIHelper.registEvent(gameObject, "god_", onGod); //UIHelper.registEvent(gameObject, "god_", onGod);
UIHelper.registEvent(gameObject, "value_", onValue); UIHelper.registEvent(gameObject, "value_", onValue);
setSortLable(); setSortLable();
superScrollView.install(); superScrollView.install();
...@@ -503,10 +503,10 @@ public class selectReplay : WindowServantSP ...@@ -503,10 +503,10 @@ public class selectReplay : WindowServantSP
{ {
superScrollView.add(fileInfos[i].Name.Substring(0, fileInfos[i].Name.Length - 6)); superScrollView.add(fileInfos[i].Name.Substring(0, fileInfos[i].Name.Length - 6));
} }
if (fileInfos[i].Name.Length > 4 && fileInfos[i].Name.Substring(fileInfos[i].Name.Length - 4, 4) == ".yrp") //if (fileInfos[i].Name.Length > 4 && fileInfos[i].Name.Substring(fileInfos[i].Name.Length - 4, 4) == ".yrp")
{ //{
superScrollView.add(fileInfos[i].Name); // superScrollView.add(fileInfos[i].Name);
} //}
} }
} }
} }
......
...@@ -108,7 +108,7 @@ GameObject: ...@@ -108,7 +108,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!1 &114010 --- !u!1 &114010
GameObject: GameObject:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
......
...@@ -273,7 +273,7 @@ GameObject: ...@@ -273,7 +273,7 @@ GameObject:
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
m_NavMeshLayer: 0 m_NavMeshLayer: 0
m_StaticEditorFlags: 0 m_StaticEditorFlags: 0
m_IsActive: 1 m_IsActive: 0
--- !u!1 &163040 --- !u!1 &163040
GameObject: GameObject:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
......
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