Description
Wiki Description
Obtains whether the game is currently in "menu mode" or not. Menu mode is basically defined as whenever the game is paused, usually because some menu is showing. Dialogue does not pause the game, and so does not put the game into "menu mode".
Documentation Comment
Returns whether the game is currently in menu mode or not
Caveats
CK Wiki - Notes
- Dialogue, because the game isn't paused, will not put the game into "menu mode". This state appears to be undetectable by any simple means, but possibly may be worked around with things like IsTalking, ObjectReference.IsInDialogueWithPlayer(), etc.
- Crafting happens in game mode, use ObjectReference.IsFurnitureInUse(...) to determine if the player is currently in a crafting menu.
Examples
if (!Utility.IsInMenuMode())
; do game stuff! we aren't in a menu
endIfAuto-Generated Example
bool returnedValue = Utility.IsInMenuMode()