shouldCloseInventory

Parameters

shouldCloseInventory

whether the UI should be able to be closed by the player or not (usually when pressing the ESC or inventory key)