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

◆ TryUpdateValue()

bool TryUpdateValue ( GodotObject  sender,
Variant  value,
out Variant  effectiveValue 
)
inline

Tries to update the value of this setting.

Parameters
senderThe sender object that requesting the change.
valueThe value to update the setting to.
effectiveValueThe value the setting was truly set to, if the requested one was rejected.
Returns
Whether the requested update was performed successfully. It could typically return false if the concrete type of the provided variant was rejected.