【bug】修复ui隐藏bug

main
chenyuqi 2024-02-26 18:19:36 +08:00
parent 78bce1e1e2
commit 77913f56c2
1 changed files with 4 additions and 1 deletions

View File

@ -265,7 +265,10 @@ public abstract class UIWindow
private void ShowAgain()
{
gameObject.SetActive(true);
if (gameObject)
{
gameObject.SetActive(true);
}
//OnShow();
}