修改细节

This commit is contained in:
Caiyanpeng committed 2021-08-09 16:32:47 +08:00
1 parent 9f19e951cc
commit 7a1042d184
14 files changed
+1889 -1314

No files matched your search

@@ -26,6 +26,39 @@ public class RaceListScript : RaceScript
{
base.Show();
handleAvatar();
ResetPanel();
}
void ResetPanel()
{
if (statusOptionContainer != null)
{
foreach (Transform t in statusOptionContainer)
{
var image = t.GetComponent<Image>();
var text = t.Find("Text").GetComponent<Text>();
if (t.name == "Btn1")
{
image.color = Utils.HexToColorHtml("#F93086");
text.color = new Color(1, 1, 1, 1);
}
else
{
image.color = Utils.HexToColorHtml("#23232D");
text.color = new Color(1, 1, 1, 1);
}
}
statusOptions = new List<string>();
}
if (reserveContainer != null)
{
reserveContainer.Find("Gou").gameObject.SetActive(false);
isReserve = false;
}
if (searchInput != null)
{
searchInput.GetComponent<InputField>().text = "";
raceName = "";
}
Refresh();
}
//筛选条件