Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

TextInputBaseField<T0>.StringToValue

Declaration

protected TValueType StringToValue(string str);

Parameters

str The string to convert.

Returns

TValueType A value converted from the string.

Description

Converts a string to the value of the specified generic type from the subclass.

Subclasses must implement this method.