Jump to content
  • 0

HideUi exception?



I am adding new event commands and I am looking at the current HideUi (F11) Boolean.  It appears this line is an all or nothing with the exception it will show all the ui if the exit menu is opened:


else if (Globals.GameState == GameStates.InGame &&
                     ((!Interface.GameUi?.EscapeMenu?.IsHidden ?? true) || !HideUi))

I assume there is no way to add an exclusion to this set of code to keep only one ui window visible and to do so would require removing this !HideUI check and make edits to the GameUi Draw function itself correct? 


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...