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

◆ ProcessValue()

bool ProcessValue ( Variant  value,
out Variant  effectiveValue 
)
abstractprotected

Defines the underlying behavior tied to this setting, provided a new value to be set.
It could be for example, resizing the game's window, changing the engine's max frame rate, or other configuration more specific to your game.

Parameters
valueThe value to update the setting to.
effectiveValueThe value the setting was truly set to, if the requested one was rejected.
Returns
Whether the value could be successfully processed or not. Typically, if the concrete type of the Variant is not the expected one.