Skip to content

Commit

Permalink
-fix: call hide popup Administrator when it already hide
Browse files Browse the repository at this point in the history
  • Loading branch information
aprius committed Dec 12, 2023
1 parent 64c1b9c commit 2aff159
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Assets/_Root/Scenes/menu.unity
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ MonoBehaviour:
m_text: TAP TO PLAY
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 479ff250d57c8ce4e846ef3be0127477, type: 2}
m_sharedMaterial: {fileID: 1670048747954264078, guid: 479ff250d57c8ce4e846ef3be0127477, type: 2}
m_sharedMaterial: {fileID: 2100000, guid: a5b80e8a169d5624a8c25be597be1435, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
Expand Down
5 changes: 4 additions & 1 deletion Assets/_Root/Scripts/Debug/Administrator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ private void OnButtonUnlockAllSkinClicked()
}
}

private void OnSceneLoaded(Scene scene, LoadSceneMode mode) { Hide(); }
private void OnSceneLoaded(Scene scene, LoadSceneMode mode)
{
if (_stateSlide) Hide();
}

private void Refresh()
{
Expand Down

0 comments on commit 2aff159

Please sign in to comment.