options.gd

Extends: Control

Description

An options menu

Constants Descriptions

CUSTOM_SETTING

const CUSTOM_SETTING: String = "a_custom_setting"

Custom setting key

Property Descriptions

backup_settings

var backup_settings

The current settings

settings_changed

var settings_changed

The settings changed

Method Descriptions

show

func show()

Show the options

initialize_options

func initialize_options(p_settings)

Set the sliders to the values of the settings

Parameters

  • p_settings: The settings to use

Signals

  • signal back_button_pressed(): The back button was pressed