Utils.setValueFromString

Converts the string to the type of the value and sets the value with it.

Note that this function is dangerous as it does not return any indication if the conversion worked or not.

struct Utils
static
void
setValueFromString
(,
string valueStr
)

Parameters

value Value

the value to set

valueStr string

the string to get the value from

Meta