Table of Contents

Method CloseAll

Namespace
GrindFest
Assembly
GrindFest.dll

CloseAll()

Closes every open window in the stack, top down, and empties it.

Clear() only forgets them - the windows stay on screen, and a window that is left on screen is not harmless: it sits in the EventSystem's raycast path (swallowing clicks meant for whatever opens next) and it makes ESC close it instead of what the player is looking at. That is what left an inventory or a container open after a test run (2026-09-17).

public void CloseAll()