登录增加loading&赛事提醒修改
This commit is contained in:
1 parent
51cea743be
commit
dfb80658dd
23 files changed
+2137
-34355
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user