メインコンテンツまでスキップ

Shader Menu Show

The Shader Menu Show Action displays a shader-based menu to the player. This menu rendering uses core shaders to overlay UI elements on the screen, independent of FOV/GUI scaling.

Configuration

disableBetterHudBoolean

Whether to hide other default BetterHud elements (like HUDs) while this menu is open.

interactionModeEnum

How the player interacts with buttons:

  • GAZE: Looking at the button triggers hover/click.
  • CLICK: Mouse click required.
  • BOTH: Supports both gaze and click.

buttons

"> List of buttons to display in this menu.

Button Configuration

idString

Unique ID for the button.

textString

Text displayed on the button.

xNumber

X position (0-100 screen percentage).

yNumber

Y position (0-100 screen percentage).

widthNumber

Button width (screen percentage).

heightNumber

Button height (screen percentage).

action

"> Action to trigger when the button is clicked/selected.

action:
type: menu_show
interactionMode: GAZE
buttons:
- id: "btn_start"
text: "Start Game"
x: 50.0
y: 40.0
width: 20.0
height: 8.0
action: "start_game_sequence"