PauseMenuOptions

Extends: roAssociativeArray

Options for BGE.PauseMenu. Every field is optional.

Properties

  • action (string) — ControlMap action that toggles the menu (default "pause"). Used when it's bound.
  • button (string) — Remote button that toggles the menu when the action isn't bound (default "play").
  • title (string) — Heading (default "Paused").
  • message (string) — Text under the heading (default none).
  • style (string) — "panel" (default): a centered BGE.UI.MenuList of buttons. "text": just the title drawn
  • buttons (Array.<string>) — Button ids, top to bottom (default ["resume", "quit"]). Built in: "resume", "restart"
  • titleScene (string) — Scene the "title" button changes to.
  • closeOnBack (boolean) — Does Back close an open menu (default true)?