mirror of
https://github.com/Gurge44/EndlessHostRoles.git
synced 2026-10-20 01:46:25 +00:00
also fade out when settings UI is open
This commit is contained in:
1 parent
4e02ebe5aa
commit
3aadd618ea
1 file changed
+1
-1
@@ -302,7 +302,7 @@ public class ClientControlGUI : MonoBehaviour
|
||||
}
|
||||
|
||||
// 90% transparent when in game and panel is closed, full opacity otherwise
|
||||
bool fadeOut = !IsOpen && GameStates.IsInGame;
|
||||
bool fadeOut = !IsOpen && (GameStates.IsInGame || GameSettingMenu.Instance);
|
||||
Color prev = GUI.color;
|
||||
if (fadeOut) GUI.color = new Color(1f, 1f, 1f, 0.10f);
|
||||
|
||||
|
||||
Reference in new issue
Block a user