登录增加loading&赛事提醒修改

This commit is contained in:
lishuo committed 2021-09-13 18:21:43 +08:00
1 parent 51cea743be
commit dfb80658dd
23 files changed
+2137 -34355

No files matched your search

+11
View File
@@ -164,6 +164,7 @@ namespace Assets.Scripts
public static void showLoadingExtension(this GameObject game)
{
game.SetActive(true);
var loading = game.transform.Find("Loading");
if (loading == null)
{
@@ -175,6 +176,16 @@ namespace Assets.Scripts
}
loading.GetComponent<LoadingPf>().Show();
}
public static void hideLoadingExtension(this GameObject game)
{
var loading = game.transform.Find("Loading");
if (loading != null)
{
loading.GetComponent<LoadingPf>().Close();
}
game.SetActive(false);
}
public static void hideLoading(this GameObject game)
{
var parent = Utils.FindUpParent(game.transform);