TraGUS
Godot plugin for user settings
Loading...
Searching...
No Matches

◆ Init()

static bool Init ( UserSetting  setting,
out Variant  value 
)
inlinestatic

Tries to retrieve the initial value of the setting, using the user's .ini config file if possible and the tragus_default_settings.ini otherwise.

Parameters
settingThe setting to initialize.
valueThe retrieved initial value for this setting.
Returns
Whether either the user's or default config file contained a corresponding (not necessarily valid) entry.