样式调整

This commit is contained in:
Caiyanpeng committed 2021-07-26 19:50:10 +08:00
1 parent 7d0128d912
commit ab9b6a86f3
24 files changed
+2626 -1655

No files matched your search

@@ -35,10 +35,15 @@ public class RaceButtonGroupScript : MonoBehaviour
}
void GoJoin()
{
if (!map.HasJoin)
UIManager.ShowConfirm("Apply", "Are you wanting to apply?", () =>
{
parent.GetComponent<RaceItemScript>().Join();
} App.RouteIdParam = map.RouteId;
if (!map.HasJoin)
{
parent.GetComponent<RaceItemScript>().Join();
}
App.RouteIdParam = map.RouteId;
UIManager.CloseConfirm();
});
}
void GoEnter()
{
@@ -48,10 +53,14 @@ public class RaceButtonGroupScript : MonoBehaviour
}
void GoCancel()
{
if (map.HasJoin)
UIManager.ShowConfirm("Cancel application", "Are you wanting to cancel the application?", () =>
{
parent.GetComponent<RaceItemScript>().CancelJoin();
}
if (map.HasJoin)
{
parent.GetComponent<RaceItemScript>().CancelJoin();
}
UIManager.CloseConfirm();
});
}
void GoWatch()
{