Skip to content

ConfigForm ​

Inherits: VBoxContainer

Inherited by: AlbumTrackForm, MusicChoiceForm, MusicLayerForm, MusicStingerForm, ShelterWeatherSoundForm, WeatherEffectEntryForm, WeatherTableEntryForm

A small form made of field components (ConfigField) for a resource that is part of another one: an item of a list (an exposed effect of a weather). The scene is built by hand with the fields in it, each with the property it shows. load_config(resource) opens the resource in all of them; every change is written to it and sent as config_changed, so the owner saves what it belongs to.

Variables ​

Resourceconfig

Methods ​

voidload_config( p_config: Resource )
Array[ConfigField]get_fields()
ConfigFieldget_field( property: StringName )

Signals ​

config_changed( config: Resource ) ​

Variable descriptions ​

Resource config ​

No description yet.

Method descriptions ​

void load_config( p_config: Resource ) ​

Opens a resource in the form

Array[ConfigField] get_fields() ​

No description yet.

ConfigField get_field( property: StringName ) ​

No description yet.