Skip to content
This repository was archived by the owner on Feb 18, 2026. It is now read-only.

Commit 574e130

Browse files
committed
active replaced by activeInHierarchy
1 parent 6249404 commit 574e130

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Assets/Scripts/hideMenu.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class hideMenu : MonoBehaviour
99
// Start is called before the first frame update
1010
public void checkIfMenuIsHidden()
1111
{
12-
if (menu.active)
12+
if (menu.activeInHierarchy)
1313
{
1414
HideMenu();
1515
}

0 commit comments

Comments
 (0)